pyFAI.opencl package#
pyFAI.opencl.azim_csr module#
pyFAI.opencl.azim_hist module#
pyFAI.opencl.azim_lut module#
pyFAI.opencl.preproc module#
pyFAI.opencl.sort module#
Module contents#
Contains all OpenCL implementation.
- pyFAI.opencl.dtype_converter(dtype)#
- convert a numpy dtype as a int8 
- pyFAI.opencl.get_compiler_options(ctx, x87_volatile=False, apple_gpu=False)#
- Provide a set of common compiler options to work around known bugs: - X87_volatile:
- set to true to declare all x87 operation as volatile, needed on PoCL x86 32bits 
- Apple_gpu:
- redefine the cl_khr_fp64 to zero when the device is Apple GPU which wrongly declares fp64 compatibility. See #2339 
- Returns:
- compilation directive as string. 
 
- pyFAI.opencl.get_x87_volatile_option(ctx)#