4dc1940119
* EXSWCPHIPT-42 - Add HIP RTC support to the test framework
* Removed ifdef from hipTestContext class
[ROCm/hip-tests commit: f04fdbd0f7]
6 строки
134 B
C++
6 строки
134 B
C++
#include <kernels.hh>
|
|
|
|
__global__ void Set(int* Ad, int val) {
|
|
int tx = threadIdx.x + blockIdx.x * blockDim.x;
|
|
Ad[tx] = val;
|
|
} |