changed hipLimit to hipLimit_t and data type to enum

Change-Id: I94f408cdcac4b0bb38801d58709b68e9630d44d0
Этот коммит содержится в:
Aditya Atluri
2016-10-13 15:13:11 -05:00
родитель 1970ea07f1
Коммит 34ab2a55ab
2 изменённых файлов: 6 добавлений и 4 удалений
+1 -1
Просмотреть файл
@@ -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) {