cubecl_hip_sys

Function hipGetDeviceFlags

Source
pub unsafe extern "C" fn hipGetDeviceFlags(
    flags: *mut c_uint,
) -> hipError_t
Expand description

@brief Gets the flags set for current device

@param [out] flags Pointer of the flags

@returns #hipSuccess, #hipErrorInvalidDevice, #hipErrorInvalidValue