Function cuDeviceGetUuid

Source
pub unsafe extern "C" fn cuDeviceGetUuid(
    uuid: *mut CUuuid,
    dev: CUdevice,
) -> CUresult
Expand description

\brief Return an UUID for the device

Note there is a later version of this API, ::cuDeviceGetUuid_v2. It will supplant this version in 12.0, which is retained for minor version compatibility.

Returns 16-octets identifying the device \p dev in the structure pointed by the \p uuid.

\param uuid - Returned UUID \param dev - Device to get identifier string for

\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_DEVICE \notefnerr

\sa ::cuDeviceGetUuid_v2 ::cuDeviceGetAttribute, ::cuDeviceGetCount, ::cuDeviceGetName, ::cuDeviceGetLuid, ::cuDeviceGet, ::cuDeviceTotalMem, ::cuDeviceGetExecAffinitySupport, ::cudaGetDeviceProperties