changed hipLimit to hipLimit_t and data type to enum

Change-Id: I94f408cdcac4b0bb38801d58709b68e9630d44d0
This commit is contained in:
Aditya Atluri
2016-10-13 15:13:11 -05:00
parent 90a71c4be4
commit 00c3db0e60
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) {