[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
[ROCm/hip commit: 4ff355357f]
Esse commit está contido em:
+1
-1
@@ -283,7 +283,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));
|
||||
|
||||
+1
-1
@@ -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));
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário