3 ms·
Intriguing option but I'm dealing with the integrated GPU here. It looks like TensorFlow is for NVidia discrete GPUs. PythonOpenCL is probably the best option:
by mozumder 9y ago
Intriguing option but I'm dealing with the integrated GPU here. It looks like TensorFlow is for NVidia discrete GPUs.
PythonOpenCL is probably the best option: https://mathema.tician.de/software/pyopencl/ https://mathema.tician.de/software/pyopencl/
One thing about integrated GPUs for server is that there's no transfer time, since the GPUs share memory with the CPU.
- Marat_Dukhan 9y agoThere is transfer time. You source image is in cacheable CPU memory. Integrated GPUs normally work with uncacheable memory allocated in a special region of system memory. Some GPUs can access cacheable memory too, but it is much slower (because it has to maintain coherency with CPU caches), and requires that you allocate such cacheable memory using special OpenCL driver calls, not your normal malloc. So, in practice, you would do a copy to GPU-optimized buffer (in shared with CPU, but uncacheable memory).