public class CUpointer_attribute extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES
Bitmask of allowed ::CUmemAllocationHandleType for this allocation
|
static int |
CU_POINTER_ATTRIBUTE_BUFFER_ID
A process-wide unique ID for an allocated memory region
|
static int |
CU_POINTER_ATTRIBUTE_CONTEXT
The ::CUcontext on which a pointer was allocated or registered
|
static int |
CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL
A device ordinal of a device on which a pointer was allocated or
registered
|
static int |
CU_POINTER_ATTRIBUTE_DEVICE_POINTER
The address at which a pointer's memory may be accessed on the device
|
static int |
CU_POINTER_ATTRIBUTE_HOST_POINTER
The address at which a pointer's memory may be accessed on the host
|
static int |
CU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE
1 if the memory this pointer is referencing can be used with the GPUDirect RDMA API
|
static int |
CU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE
1 if this pointer maps to an allocation that is suitable for
::cudaIpcGetMemHandle, 0 otherwise
|
static int |
CU_POINTER_ATTRIBUTE_IS_MANAGED
Indicates if the pointer points to managed memory
|
static int |
CU_POINTER_ATTRIBUTE_MAPPED
1 if this pointer is in a valid address range that is mapped to a
backing allocation, 0 otherwise
|
static int |
CU_POINTER_ATTRIBUTE_MEMORY_TYPE
The ::CUmemorytype describing the physical location of a pointer
|
static int |
CU_POINTER_ATTRIBUTE_P2P_TOKENS
A pair of tokens for use with the nv-p2p.h Linux kernel interface
|
static int |
CU_POINTER_ATTRIBUTE_RANGE_SIZE
Size of the address range for this requested pointer
|
static int |
CU_POINTER_ATTRIBUTE_RANGE_START_ADDR
Starting address for this requested pointer
|
static int |
CU_POINTER_ATTRIBUTE_SYNC_MEMOPS
Synchronize every synchronous memory operation initiated on this region
|
Modifier and Type | Method and Description |
---|---|
static String |
stringFor(int n)
Returns the String identifying the given CUpointer_attribute
|
public static final int CU_POINTER_ATTRIBUTE_CONTEXT
public static final int CU_POINTER_ATTRIBUTE_MEMORY_TYPE
public static final int CU_POINTER_ATTRIBUTE_DEVICE_POINTER
public static final int CU_POINTER_ATTRIBUTE_HOST_POINTER
public static final int CU_POINTER_ATTRIBUTE_P2P_TOKENS
public static final int CU_POINTER_ATTRIBUTE_SYNC_MEMOPS
public static final int CU_POINTER_ATTRIBUTE_BUFFER_ID
public static final int CU_POINTER_ATTRIBUTE_IS_MANAGED
public static final int CU_POINTER_ATTRIBUTE_DEVICE_ORDINAL
public static final int CU_POINTER_ATTRIBUTE_IS_LEGACY_CUDA_IPC_CAPABLE
public static final int CU_POINTER_ATTRIBUTE_RANGE_START_ADDR
public static final int CU_POINTER_ATTRIBUTE_RANGE_SIZE
public static final int CU_POINTER_ATTRIBUTE_MAPPED
public static final int CU_POINTER_ATTRIBUTE_ALLOWED_HANDLE_TYPES
public static final int CU_POINTER_ATTRIBUTE_IS_GPU_DIRECT_RDMA_CAPABLE
public static String stringFor(int n)
n
- The CUpointer_attributeCopyright © 2020. All rights reserved.