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
父节点 e0aba8647f
当前提交 b3c16ea7b5
修改 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);