changed hipLimit to hipLimit_t and data type to enum

Change-Id: I94f408cdcac4b0bb38801d58709b68e9630d44d0
이 커밋은 다음에 포함됨:
Aditya Atluri
2016-10-13 15:13:11 -05:00
부모 90a71c4be4
커밋 00c3db0e60
2개의 변경된 파일과 6개의 추가작업 그리고 4개의 파일을 삭제
+5 -3
파일 보기
@@ -60,7 +60,10 @@ typedef void* hipDeviceptr_t;
typedef struct ihipEvent_t *hipEvent_t;
typedef unsigned hipLimit;
enum hipLimit_t
{
hipLimitMallocHeapSize = 0x02,
};
/**
* @addtogroup GlobalDefs More
@@ -98,7 +101,6 @@ typedef unsigned hipLimit;
#define hipDeviceMapHost 0x8
#define hipDeviceLmemResizeToMax 0x16
#define hipLimitMallocHeapSize 0x2
/**
* @warning On AMD devices and recent Nvidia devices, these hints and controls are ignored.
@@ -336,7 +338,7 @@ hipError_t hipDeviceGetCacheConfig ( hipFuncCache *cacheConfig );
* Note: Currently, only hipLimitMallocHeapSize is available
*
*/
hipError_t hipDeviceGetLimit(size_t *pValue, hipLimit limit);
hipError_t hipDeviceGetLimit(size_t *pValue, hipLimit_t limit);
/**