pub unsafe extern "C" fn hipDeviceGetLimit(
pValue: *mut usize,
limit: hipLimit_t,
) -> hipError_t
Expand description
@brief Gets resource limits of current device
The function queries the size of limit value, as required by the input enum value hipLimit_t, which can be either #hipLimitStackSize, or #hipLimitMallocHeapSize. Any other input as default, the function will return #hipErrorUnsupportedLimit.
@param [out] pValue Returns the size of the limit in bytes @param [in] limit The limit to query
@returns #hipSuccess, #hipErrorUnsupportedLimit, #hipErrorInvalidValue