Crate rust_gpu_tools[−][src]
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
Macros
Creates two closures, one for CUDA, one for OpenCL for the given one.
Structs
A device that may have a CUDA and/or OpenCL GPU associated with it.
A unique identifier based on UUID of the device.
A buffer on the GPU.
The PCI-ID is the combination of the PCI Bus ID and PCI Device ID.