pub unsafe extern "C" fn hipDeviceGetAttribute(
pi: *mut c_int,
attr: hipDeviceAttribute_t,
deviceId: c_int,
) -> hipError_t
Expand description
@brief Query for a specific device attribute.
@param [out] pi pointer to value to return @param [in] attr attribute to query @param [in] deviceId which device to query for information
@returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue