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
This commit is contained in:
Fábio authored and GitHub committed 2022-06-13 15:35:02 +05:30
1 parent 1e6bfe7215
commit f04fdbd0f7
13 files changed
+553 -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;
}