Function hip_sys::hiprt::hipDeviceGetLimit
source · pub unsafe extern "C" fn hipDeviceGetLimit(
pValue: *mut usize,
limit: hipLimit_t
) -> hipError_tExpand description
@brief Get Resource limits of current device
@param [out] pValue @param [in] limit
@returns #hipSuccess, #hipErrorUnsupportedLimit, #hipErrorInvalidValue Note: Currently, only hipLimitMallocHeapSize is available