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

This commit is contained in:
Sarbojit2019
2022-01-11 13:52:13 +05:30
committed by GitHub
parent 3fcc42d05e
commit b665052bd7
@@ -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));