SWDEV-3161551 - Fix for P2P sample failure (#2456)

[ROCm/hip-tests commit: 33ac9de928]
Bu işleme şunda yer alıyor:
Sarbojit2019
2022-01-11 13:52:13 +05:30
işlemeyi yapan: GitHub
ebeveyn 4b43ff2ae6
işleme f34431d776
+1
Dosyayı Görüntüle
@@ -174,6 +174,7 @@ int main() {
dim3(WIDTH / THREADS_PER_BLOCK_X, WIDTH / THREADS_PER_BLOCK_Y),
dim3(THREADS_PER_BLOCK_X, THREADS_PER_BLOCK_Y), 0, 0, gpuTransposeMatrix[0],
data[0], width);
HIPCHECK(hipDeviceSynchronize());
HIPCHECK(hipSetDevice(peerGpu));
TransposeMatrix[1] = (float*)malloc(NUM * sizeof(float));