|
Returns in *pi the integer value of the attribute attrib on device dev . The supported attributes are:
- Parameters:
-
| pi | - Returned device attribute value |
| attrib | - Device attribute to query |
| dev | - Device handle |
- Returns:
- CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE, CUDA_ERROR_INVALID_DEVICE
- Note:
- Note that this function may also return error codes from previous, asynchronous launches.
- See also:
- cuDeviceComputeCapability, cuDeviceGetCount, cuDeviceGetName, cuDeviceGet, cuDeviceGetProperties, cuDeviceTotalMem
|