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

[ROCm/hip commit: b665052bd7]
This commit is contained in:
Sarbojit2019
2022-01-11 13:52:13 +05:30
committed by GitHub
parent bc20b513c4
commit 7f451b6ad9
@@ -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));