7.28. cudaMemLocation Struct Reference
[Data types used by CUDA Runtime]
Specifies a memory location.
To specify a gpu, set type = cudaMemLocationTypeDevice and set id = the gpu's device ordinal.
Public Variables
Variables
- int cudaMemLocation::id [inherited]
-
identifier for a given this location's CUmemLocationType.
- enumcudaMemLocationTypecudaMemLocation::type [inherited]
-
Specifies the location type, which modifies the meaning of id.