Loading...
Searching...
No Matches
q3::execution::gpu::device Namespace Reference

Classes

class  CudaGPUDeviceBackend
 
class  GPUDeviceBackend
 
class  GPUDeviceBuffer
 
class  HIPGPUDeviceBackend
 
class  MetalGPUDeviceBackend
 
class  SYCLGPUDeviceBackend
 
class  SYCLGPUDeviceBackendImpl
 

Functions

std::shared_ptr< GPUDeviceBackend > create_gpu_device_backend ()
 

Function Documentation

◆ create_gpu_device_backend()

std::shared_ptr< GPUDeviceBackend > q3::execution::gpu::device::create_gpu_device_backend ( )

Create a GPU device backend for the platform detected at build time.

Returns
Shared pointer to the concrete GPUDeviceBackend implementation.
Exceptions
std::runtime_errorIf no GPU device is available.

Definition at line 103 of file cuda.cpp.

Referenced by main(), and q3::cli::run_gpu_entry_point().