[HIPIFY][FIX][#306] Eliminate second cuda main include directive
// hipified to #include<hip/hip_runtime.h> #include<cuda.h> // 1st cuda main include (Driver API) // to eliminate #include<cuda_runtime.h> // 2nd cuda main include (Runtime API) HIP has one header hip_runtime.h for both CUDA APIs, thus second cuda main include directive is eliminated entirely.
이 커밋은 다음에 포함됨:
1 부모
acac5f6c6e
커밋
7e7cfa10cc
3 파일이 변경됨
+26
-8
검색과 일치하는 파일 없음
@@ -0,0 +1,6 @@
|
||||
// RUN: %run_test hipify "%s" "%t" %cuda_args
|
||||
|
||||
// CHECK: #include <hip/hip_runtime.h>
|
||||
#include <cuda.h>
|
||||
// CHECK-NOT: #include<cuda_runtime.h>
|
||||
#include <cuda_runtime.h>
|
||||
@@ -0,0 +1,6 @@
|
||||
// RUN: %run_test hipify "%s" "%t" %cuda_args
|
||||
|
||||
// CHECK: #include <hip/hip_runtime.h>
|
||||
#include <cuda_runtime.h>
|
||||
// CHECK-NOT: #include<cuda.h>
|
||||
#include <cuda.h>
|
||||
새 이슈에서 참조
사용자 차단