module faq.faq_gpu#

Short summary#

module ensae_teaching_cs.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_cs.faq.faq_gpu.pyopencl_status()#

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

<<<

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

>>>

    pyopencl is not available due to No module named 'pyopencl'

source on GitHub