SWDEV-341956 - update coordinates in dtest runtimeApi (#2761)

Change-Id: I058afba16452d1831067faf31020c979e5a99fa7


[ROCm/hip commit: 45870b83b2]
Этот коммит содержится в:
ROCm CI Service Account authored and GitHub committed 2022-06-22 12:06:02 -07:00
1 родитель 7033ff5c6b
Коммит 76c9a958ea
5 files changed
+11 -11

No files matched your search

+1 -1
Просмотреть файл
@@ -34,7 +34,7 @@ __device__ int getSquareOfGlobalFloat() {
}
extern "C" __global__ void testWeightedCopy(int* a, int* b) {
int tx = hipThreadIdx_x;
int tx = threadIdx.x;
b[tx] = deviceGlobalInt1*a[tx] + deviceGlobalInt2 +
static_cast<int>(deviceGlobalShort) + static_cast<int>(deviceGlobalChar)
+ getSquareOfGlobalFloat();