cubecl_hip_sys

Function hipGetDevicePropertiesR0600

Source
pub unsafe extern "C" fn hipGetDevicePropertiesR0600(
    prop: *mut hipDeviceProp_tR0600,
    deviceId: c_int,
) -> hipError_t
Expand description

@brief Returns device properties.

@param [out] prop written with device properties @param [in] deviceId which device to query for information

@return #hipSuccess, #hipErrorInvalidDevice @bug HCC always returns 0 for maxThreadsPerMultiProcessor @bug HCC always returns 0 for regsPerBlock @bug HCC always returns 0 for l2CacheSize

Populates hipGetDeviceProperties with information for the specified device.