|
Zen API
|
Represents a memory allocator trait.
Public Member Functions | |
| kBool | kAllocTrait_IsCudaDevice (kAllocTrait traits) |
| Reports whether the kALLOC_TRAIT_CUDA_DEVICE trait is present in an allocator trait bitset. More... | |
| kBool | kAllocTrait_IsCudaDeviceAccessible (kAllocTrait traits) |
| Reports whether the memory is Cuda device-accessible. More... | |
| kBool | kAllocTrait_IsCudaManaged (kAllocTrait traits) |
| Reports whether the kALLOC_TRAIT_CUDA_MANAGED trait is present in an allocator trait bitset. More... | |
| kBool | kAllocTrait_IsCudaPinned (kAllocTrait traits) |
| Reports whether the kALLOC_TRAIT_CUDA_PINNED trait is present in an allocator trait bitset. More... | |
| kBool | kAllocTrait_IsForeign (kAllocTrait traits) |
| Reports whether the kALLOC_TRAIT_FOREIGN trait is present in an allocator trait bitset. More... | |
| kBool | kAllocTrait_IsNonAtomic (kAllocTrait traits) |
| Reports whether the kALLOC_TRAIT_NON_ATOMIC trait is present in an allocator trait bitset. More... | |
| kBool | kAllocTrait_IsSerial (kAllocTrait traits) |
| Reports whether the kALLOC_TRAIT_SERIAL trait is present in an allocator trait bitset. More... | |
| kBool | kAllocTrait_SupportsContext (kAllocTrait traits) |
| Reports whether the kALLOC_TRAIT_CONTEXT trait is present in an allocator trait bitset. More... | |
Related | |
| #define | kALLOC_TRAIT_FOREIGN |
| Allocates memory in a foreign memory domain (non-host address space). | |
| #define | kALLOC_TRAIT_SERIAL |
| Allocates memory suitable for single-threaded use only. | |
| #define | kALLOC_TRAIT_NON_ATOMIC |
| Allocates memory that cannot support atomic operations. | |
| #define | kALLOC_TRAIT_CONTEXT |
| Allocator supports use of a context object during copy operations. | |
| #define | kALLOC_TRAIT_CUDA_PINNED |
| Allocates Cuda pinned memory (host or device). | |
| #define | kALLOC_TRAIT_CUDA_MANAGED |
| Allocates Cuda managed memory (host or device). | |
| #define | kALLOC_TRAIT_CUDA_DEVICE |
| Allocates Cuda device memory (device only). | |