7.20. CUDA_MEM_ALLOC_NODE_PARAMS Struct Reference

[Data types used by CUDA driver]

Memory allocation node parameters

Public Variables

size_t  accessDescCount
const CUmemAccessDescaccessDescs
size_t  bytesize
CUdeviceptr dptr
struct CUmemPoolProps poolProps


size_t CUDA_MEM_ALLOC_NODE_PARAMS::accessDescCount [inherited]

in: number of memory access descriptors. Must not exceed the number of GPUs.

const CUmemAccessDesc * CUDA_MEM_ALLOC_NODE_PARAMS::accessDescs [inherited]

in: array of memory access descriptors. Used to describe peer GPU access

size_t CUDA_MEM_ALLOC_NODE_PARAMS::bytesize [inherited]

in: size in bytes of the requested allocation

CUdeviceptrCUDA_MEM_ALLOC_NODE_PARAMS::dptr [inherited]

out: address of the allocation returned by CUDA

struct CUmemPoolPropsCUDA_MEM_ALLOC_NODE_PARAMS::poolProps [inherited]

in: location where the allocation should reside (specified in location). handleTypes must be CU_MEM_HANDLE_TYPE_NONE. IPC is not supported.