SWDEV-415343 - Make correction on description for hip API hipDeviceGetLimit

Change-Id: Ibb91e6a2b14eb7ee1a62a7cbcfa7c0cdba305700


[ROCm/hip commit: 24a84835af]
This commit is contained in:
Julia Jiang
2023-10-06 18:33:33 -04:00
committed by Julia Jiang
parent 8be8e33085
commit 4ae9dadc3d
+3 -3
View File
@@ -1822,9 +1822,9 @@ hipError_t hipDeviceGetCacheConfig(hipFuncCache_t* cacheConfig);
/**
* @brief Gets resource limits of current device
*
* The funtion querys the size of limit value, as required input enum hipLimit_t, it can be either
* #hipLimitStackSize, or #hipLimitMallocHeapSize. Any other input as default, the funtion will
* return #hipErrorUnsupportedLimit.
* 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