#include <cuda/pi_cuda.hpp>
Public Member Functions | |
ur_context_handle_t_ (ur_device_handle_t_ *DevID) | |
ur_context_handle_t_ (ur_device_handle_t DevId) | |
ur_context_handle_t_ (ur_device_handle_t_ *phDevices) | |
ur_context_handle_t_ (ur_device_handle_t_ *DevID) | |
ur_context_handle_t_ (ur_device_handle_t DevId) | |
ur_context_handle_t_ (ur_device_handle_t_ *phDevices) | |
ur_context_handle_t_ (ur_device_handle_t_ *DevID) | |
ur_context_handle_t_ (ur_device_handle_t DevId) | |
ur_context_handle_t_ (ur_device_handle_t_ *phDevices) | |
![]() | |
ur_context_handle_t_ (ur_device_handle_t_ *DevID) | |
~ur_context_handle_t_ () | |
void | invokeExtendedDeleters () |
void | setExtendedDeleter (ur_context_extended_deleter_t Function, void *UserData) |
ur_device_handle_t | getDevice () const noexcept |
native_type | get () const noexcept |
uint32_t | incrementReferenceCount () noexcept |
uint32_t | decrementReferenceCount () noexcept |
uint32_t | getReferenceCount () const noexcept |
void | addPool (ur_usm_pool_handle_t Pool) |
void | removePool (ur_usm_pool_handle_t Pool) |
ur_usm_pool_handle_t | getOwningURPool (umf_memory_pool_t *UMFPool) |
ur_context_handle_t_ (ur_device_handle_t DevId) | |
~ur_context_handle_t_ () | |
void | invokeExtendedDeleters () |
void | setExtendedDeleter (ur_context_extended_deleter_t Function, void *UserData) |
ur_device_handle_t | getDevice () const noexcept |
uint32_t | incrementReferenceCount () noexcept |
uint32_t | decrementReferenceCount () noexcept |
uint32_t | getReferenceCount () const noexcept |
void | addPool (ur_usm_pool_handle_t Pool) |
void | removePool (ur_usm_pool_handle_t Pool) |
ur_usm_pool_handle_t | getOwningURPool (umf_memory_pool_t *UMFPool) |
void | addUSMMapping (void *Ptr, size_t Size) |
We need to keep track of USM mappings in AMD HIP, as certain extra synchronization is actually required for correctness. More... | |
void | removeUSMMapping (const void *Ptr) |
std::pair< const void *, size_t > | getUSMMapping (const void *Ptr) |
ur_context_handle_t_ (ur_device_handle_t_ *phDevices) | |
Additional Inherited Members | |
![]() | |
using | native_type = CUcontext |
using | native_type = hipCtx_t |
![]() | |
native_type | CUContext |
ur_device_handle_t | DeviceID |
std::atomic_uint32_t | RefCount |
ur_device_handle_t | DeviceId |
ur_device_handle_t | _device |
Definition at line 52 of file pi_cuda.hpp.
|
inline |
Definition at line 73 of file context.hpp.
|
inline |
Definition at line 73 of file context.hpp.
|
inline |
Definition at line 73 of file context.hpp.
|
inline |
Definition at line 79 of file context.hpp.
|
inline |
Definition at line 79 of file context.hpp.
|
inline |
Definition at line 79 of file context.hpp.
|
inline |
Definition at line 16 of file context.hpp.
|
inline |
Definition at line 16 of file context.hpp.
|
inline |
Definition at line 16 of file context.hpp.