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
This commit is contained in:
Aditya Atluri
2016-11-20 12:18:08 -06:00
parent 0edc082ff6
commit afaa5fcf96
6 changed files with 40 additions and 6 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ THE SOFTWARE.
printf ("warn: TEST WARNING\n%s", KNRM );\
#define HIP_PRINT_STATUS(status) \
std::cout<<hipGetErrorName(status)<<std::endl;
std::cout<<hipGetErrorName(status)<<" at line: "<<__LINE__<<std::endl;
#define HIPCHECK(error) \
{\