Fixed hipDeviceGetCacheConfig on nvcc path

1. Changed test macro to emit line numbers
2. Added getcacheconfig api test for nvcc path
3. Fixed hipFuncCache_t data type

TODO: With this commit, right now there are 2 func cache datatypes
a. hipFuncCache_t for runtime API
b. hipFuncCache for driver API

Map these to a single data type

Change-Id: Ia47c9f5d7c2633638051bf17b1103048a1ede973
Этот коммит содержится в:
Aditya Atluri
2016-11-20 12:18:08 -06:00
родитель 0edc082ff6
Коммит afaa5fcf96
6 изменённых файлов: 40 добавлений и 6 удалений
+1 -1
Просмотреть файл
@@ -71,7 +71,7 @@ hipError_t hipGetDeviceCount(int *count)
return e;
}
hipError_t hipDeviceSetCacheConfig(hipFuncCache cacheConfig)
hipError_t hipDeviceSetCacheConfig(hipFuncCache_t cacheConfig)
{
HIP_INIT_API(cacheConfig);