changed hipLimit to hipLimit_t and data type to enum

Change-Id: I94f408cdcac4b0bb38801d58709b68e9630d44d0


[ROCm/hip commit: 00c3db0e60]
This commit is contained in:
Aditya Atluri
2016-10-13 15:13:11 -05:00
parent d06509f680
commit 5473ffc169
2 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ hipError_t hipDeviceGetCacheConfig(hipFuncCache *cacheConfig)
extern "C" size_t g_malloc_heap_size;
hipError_t hipDeviceGetLimit (size_t *pValue, hipLimit limit)
hipError_t hipDeviceGetLimit (size_t *pValue, hipLimit_t limit)
{
HIP_INIT_API(pValue, limit);
if(pValue == nullptr) {