Function cuDeviceGetUuid_v2

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

\brief Return an UUID for the device (11.4+)

Returns 16-octets identifying the device \p dev in the structure pointed by the \p uuid. If the device is in MIG mode, returns its MIG UUID which uniquely identifies the subscribed MIG compute instance.

\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 ::cuDeviceGetAttribute, ::cuDeviceGetCount, ::cuDeviceGetName, ::cuDeviceGetLuid, ::cuDeviceGet, ::cuDeviceTotalMem, ::cudaGetDeviceProperties