Struct ISpatialCudaEnabled
Defined in File ISpatialCudaEnabled.h
Struct Documentation
-
struct ISpatialCudaEnabled
Interface for enable CUDA acceleration for spatial weights.
Public Functions
-
virtual bool useCuda() = 0
Get whether to use CUDA. Use CUDA Do not use CUDA.
-
virtual void setUseCuda(bool isUseCuda) = 0
Set whether to use CUDA. Whether to use CUDA.
-
virtual cudaError_t prepareCuda(size_t gpuId) = 0
Prepare environment for CUDA computing. The ID of selected GPU CUDA error success.
-
virtual bool useCuda() = 0