use hip_runtime_sys::*; pub(crate) unsafe fn get_limit(pvalue: *mut usize, limit: hipLimit_t) -> hipError_t { unsafe { hipDeviceGetLimit(pvalue, limit) } } pub(crate) fn set_limit(limit: hipLimit_t, value: usize) -> hipError_t { unsafe { hipDeviceSetLimit(limit, value) } }