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:  Portable Computing Language
    plat - Vendor:  The pocl project
    plat - Version:  OpenCL 2.0 pocl 0.13, LLVM 3.8.1
    plat - Profile:  FULL_PROFILE
    --------------------------------------------------------
    Device - Name:  pthread-Intel(R) Xeon(R) CPU E3-1220 V2 @ 3.10GHz
    Device - Type: Unable to retrieve that information due to a name for value 3 was not found in device_type
    Device - Max Clock Speed:  3500 Mhz
    Device - Compute Units:  4
    Device - Local Memory:  18502968 KB
    Device - Constant Memory:  18502968 KB
    Device - Global Memory: 18 GB
    Device - Max Buffer/Image Size: 18069 MB
    Device - Max Work Group Size: 4096
    ============================================================
    plat - Name:  Intel Gen OCL Driver
    plat - Vendor:  Intel
    plat - Version:  OpenCL 2.0 beignet 1.3
    plat - Profile:  FULL_PROFILE
    ============================================================

source on GitHub