Definition at line 36 of file hip.cpp.
◆ HIPGPUDeviceBackend()
| q3::execution::gpu::device::HIPGPUDeviceBackend::HIPGPUDeviceBackend |
( |
| ) |
|
|
inline |
Construct and initialize the HIP device backend.
Selects device 0 and queries its properties.
Definition at line 43 of file hip.cpp.
◆ allocate_unified()
| void * q3::execution::gpu::device::HIPGPUDeviceBackend::allocate_unified |
( |
size_t |
size_bytes | ) |
|
|
inlineoverridevirtual |
Allocate unified (managed) memory via hipMallocManaged().
Managed memory is accessible from both host and device with automatic page migration. This simplifies the programming model at the cost of some potential performance overhead compared to explicit transfers.
Implements q3::execution::gpu::device::GPUDeviceBackend.
Definition at line 76 of file hip.cpp.
◆ deallocate()
| void q3::execution::gpu::device::HIPGPUDeviceBackend::deallocate |
( |
void * |
pointer | ) |
|
|
inlineoverridevirtual |
◆ device_name()
| std::string q3::execution::gpu::device::HIPGPUDeviceBackend::device_name |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ supports_double_precision()
| bool q3::execution::gpu::device::HIPGPUDeviceBackend::supports_double_precision |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ synchronize()
| void q3::execution::gpu::device::HIPGPUDeviceBackend::synchronize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ total_memory_bytes()
| size_t q3::execution::gpu::device::HIPGPUDeviceBackend::total_memory_bytes |
( |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
- src/layer_0_core/execution/gpu/device/hip.cpp