Expand description
Abstraction layer for OpenCL and CUDA.
§Feature flags
There are two feature flags, cuda and opencl. By default opencl is enabled. You can
enable both at the same time. At least one of them needs to be enabled at any time.
Modules§
- cuda
- The CUDA specific implementation of a
Buffer,Device,ProgramandKernel. - opencl
- The OpenCL specific implementation of a
Buffer,Device,ProgramandKernel.
Macros§
- program_
closures - Creates two closures, one for CUDA, one for OpenCL for the given one.
Structs§
- Device
- A device that may have a CUDA and/or OpenCL GPU associated with it.
- Device
Uuid - A unique identifier based on UUID of the device.
- Local
Buffer - A buffer on the GPU.
- PciId
- The PCI-ID is the combination of the PCI Bus ID and PCI Device ID.