SWDEV-339113 - Update sampl codes with correct kernel coordinate (#2704)

Change-Id: Ibfc0fd285441cd3d79b312d2b739729a039a6f84

[ROCm/hip-tests commit: 5da168300f]
Este cometimento está contido em:
ROCm CI Service Account criou e GitHub cometeu 2022-06-02 17:07:52 +05:30
1 ascendente f35a48c8fb
cometimento eddb025028
14 ficheiros modificados
+47 -47

Não existem ficheiros que correspondam à sua pesquisa

+1 -1
Ver ficheiro
@@ -23,6 +23,6 @@ THE SOFTWARE.
#include "hip/hip_runtime.h"
extern "C" __global__ void hello_world(float* a, float* b) {
int tx = hipThreadIdx_x;
int tx = threadIdx.x;
b[tx] = a[tx];
}