EXSWCPHIPT-42 - Add HIP RTC support to the test framework (#2719)

* EXSWCPHIPT-42 - Add HIP RTC support to the test framework
* Removed ifdef from hipTestContext class

[ROCm/hip commit: 604de0f817]
This commit is contained in:
Fábio authored and GitHub committed 2022-06-13 15:35:02 +05:30
1 parent 572a6ea4bc
commit bdee650e17
14 files changed
+569 -42

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
#include <kernels.hh>
__global__ void Set(int* Ad, int val) {
int tx = threadIdx.x + blockIdx.x * blockDim.x;
Ad[tx] = val;
}