SWDEV-415343 - Update hipLimit

Change-Id: I88e617043d2f97415f49ef483095a024916759a2
This commit is contained in:
Julia Jiang
2023-11-03 14:35:22 -04:00
committed by Julia Jiang
parent d1d95ca0db
commit d5878533a3
+7 -1
View File
@@ -634,8 +634,14 @@ typedef struct hipFuncAttributes {
size_t sharedSizeBytes;
} hipFuncAttributes;
typedef struct ihipEvent_t* hipEvent_t;
/**
* HIP limit
*
* @note Any other limit value will be default, as "UnsupportedLimit".
*/
enum hipLimit_t {
hipLimitStackSize = 0x0, ///< limit of stack size in bytes on the current device
hipLimitStackSize = 0x0, ///< limit of thread stack size in bytes on the current device
hipLimitPrintfFifoSize = 0x01, ///< size limit in bytes of fifo used by printf call on the device
hipLimitMallocHeapSize = 0x02, ///< limit of heap size in bytes on the current device
hipLimitRange ///< supported limit range