DPC++ Runtime
Runtime libraries for oneAPI DPC++
USMSharedMemoryAlloc Class Reference

#include <unified_runtime/ur/adapters/level_zero/ur_level_zero_usm.hpp>

Inheritance diagram for USMSharedMemoryAlloc:
Collaboration diagram for USMSharedMemoryAlloc:

Public Member Functions

 USMSharedMemoryAlloc (ur_context_handle_t Ctx, ur_device_handle_t Dev)
- Public Member Functions inherited from USMMemoryAllocBase
 USMMemoryAllocBase (ur_context_handle_t Ctx, ur_device_handle_t Dev)
void * allocate (size_t Size) override final
void * allocate (size_t Size, size_t Alignment) override final
void deallocate (void *Ptr) override final
- Public Member Functions inherited from SystemMemory
virtual ~SystemMemory ()=default

Protected Member Functions

ur_result_t allocateImpl (void **ResultPtr, size_t Size, uint32_t Alignment) override

Additional Inherited Members

- Protected Attributes inherited from USMMemoryAllocBase
ur_context_handle_t Context
ur_device_handle_t Device

Detailed Description

Definition at line 57 of file ur_level_zero_usm.hpp.

Constructor & Destructor Documentation

◆ USMSharedMemoryAlloc()

USMSharedMemoryAlloc::USMSharedMemoryAlloc ( ur_context_handle_t  Ctx,
ur_device_handle_t  Dev 

Definition at line 63 of file ur_level_zero_usm.hpp.

Member Function Documentation

◆ allocateImpl()

ur_result_t USMSharedMemoryAlloc::allocateImpl ( void **  ResultPtr,
size_t  Size,
uint32_t  Alignment 

The documentation for this class was generated from the following files: