Skip to content

Commit

Permalink
SWDEV-415343 - Update hipLimit
Browse files Browse the repository at this point in the history
Change-Id: I88e617043d2f97415f49ef483095a024916759a2
  • Loading branch information
jujiang-del committed Nov 6, 2023
1 parent d1d95ca commit d587853
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/hip/hip_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d587853

Please sign in to comment.