module faq.faq_gpu

Short summary

module ensae_teaching_dl.faq.faq_gpu

A few functions about GPU.

source on GitHub

Functions

function

truncated documentation

pyopencl_status

Looks into GPU and CPU to see which card is available. Returns a string.

Documentation

A few functions about GPU.

source on GitHub

ensae_teaching_dl.faq.faq_gpu.pyopencl_status()[source]

Looks into GPU and CPU to see which card is available. Returns a string.

<<<

from ensae_teaching_dl.faq.faq_gpu import pyopencl_status
print(pyopencl_status())

>>>

    ============================================================
    OpenCL plats and Devices
    ============================================================
    plat - Name:  Intel Gen OCL Driver
    plat - Vendor:  Intel
    plat - Version:  OpenCL 2.0 beignet 1.3
    plat - Profile:  FULL_PROFILE
    ============================================================

source on GitHub