[HIPIFY] CUDA Runtime API functions total revise (up to CUDA 10.0)

+ for all CUDA versions starting from 7.0
+ add missing functions
+ sync with HIP
+ update CUDA_Runtime_API_functions_supported_by_HIP.md
+ update affected tests
+ fix typos
+ formatting, annotating
This commit is contained in:
Evgeny Mankov
2019-01-24 14:05:36 +03:00
parent bd658aa9ea
commit 4ff355357f
6 changed files with 676 additions and 388 deletions
@@ -621,7 +621,7 @@ int main(int argc, char *argv[])
CURAND_CALL(curandGetVersion(&version));
int runtime_version;
// cudaRuntimeGetVersion is yet unsupported by HIP
// CHECK-NOT: CUDA_CALL(hipRuntimeGetVersion(&runtime_version));
// CHECK: CUDA_CALL(hipRuntimeGetVersion(&runtime_version));
CUDA_CALL(cudaRuntimeGetVersion(&runtime_version));
int device_id;
// CHECK: CUDA_CALL(hipGetDevice(&device_id));