Linux repositories inspector

CUDA_DEVICE_DEPRECATED(3)

version 6.0
8 Feb 2019
Aliases: cuDeviceComputeCapability(3), cuDeviceComputeCapability(3), cuDeviceGetProperties(3), cuDeviceGetProperties(3)

nvidia-cuda-dev

NVIDIA CUDA development files

cuda

NVIDIA's GPU programming toolkit

NAME

Device Management [DEPRECATED] -

Functions

__CUDA_DEPRECATED CUresult cuDeviceComputeCapability (int *major, int *minor, CUdevice dev)
Returns the compute capability of the device. __CUDA_DEPRECATED CUresult cuDeviceGetProperties (CUdevprop *prop, CUdevice dev)
Returns properties for a selected device.

Detailed Description

\brief deprecated device management functions of the low-level CUDA driver API (cuda.h)
This section describes the device management functions of the low-level CUDA driver application programming interface.

Function Documentation

__CUDA_DEPRECATED CUresult cuDeviceComputeCapability (int * major, int * minor, CUdevice dev)

Deprecated
This function was deprecated as of CUDA 5.0 and its functionality superseded by cuDeviceGetAttribute().
Returns in *major and *minor the major and minor revision numbers that define the compute capability of the device dev.
Parameters:
major - Major revision number
minor - Minor revision number
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:
cuDeviceGetAttribute, cuDeviceGetCount, cuDeviceGetName, cuDeviceGetUuid, cuDeviceGet, cuDeviceTotalMem

__CUDA_DEPRECATED CUresult cuDeviceGetProperties (CUdevprop * prop, CUdevice dev)

Deprecated
This function was deprecated as of CUDA 5.0 and replaced by cuDeviceGetAttribute().
Returns in *prop the properties of device dev. The CUdevprop structure is defined as:
     typedef struct CUdevprop_st {
     int maxThreadsPerBlock;
     int maxThreadsDim[3];
     int maxGridSize[3];
     int sharedMemPerBlock;
     int totalConstantMemory;
     int SIMDWidth;
     int memPitch;
     int regsPerBlock;
     int clockRate;
     int textureAlign
  } CUdevprop;
where:
o maxThreadsPerBlock is the maximum number of threads per block;
o maxThreadsDim[3] is the maximum sizes of each dimension of a block;
o maxGridSize[3] is the maximum sizes of each dimension of a grid;
o sharedMemPerBlock is the total amount of shared memory available per block in bytes;
o totalConstantMemory is the total amount of constant memory available on the device in bytes;
o SIMDWidth is the warp size;
o memPitch is the maximum pitch allowed by the memory copy functions that involve memory regions allocated through cuMemAllocPitch();
o regsPerBlock is the total number of registers available per block;
o clockRate is the clock frequency in kilohertz;
o textureAlign is the alignment requirement; texture base addresses that are aligned to textureAlign bytes do not need an offset applied to texture fetches.
Parameters:
prop - Returned properties of device
dev - Device to get properties for
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:
cuDeviceGetAttribute, cuDeviceGetCount, cuDeviceGetName, cuDeviceGetUuid, cuDeviceGet, cuDeviceTotalMem

Author

Generated automatically by Doxygen from the source code.
⇧ Top