f04fdbd0f7
* EXSWCPHIPT-42 - Add HIP RTC support to the test framework * Removed ifdef from hipTestContext class
6 línte
134 B
C++
6 línte
134 B
C++
#include <kernels.hh>
|
|
|
|
__global__ void Set(int* Ad, int val) {
|
|
int tx = threadIdx.x + blockIdx.x * blockDim.x;
|
|
Ad[tx] = val;
|
|
} |