diff --git a/02-MSA-hello-world-gpu/solutions/hello-world.cu b/02-MSA-hello-world-gpu/solutions/hello-world.cu index 7a2bf1688937b3b93b47e7c8f59ee320bbc452c7..8443e8204f7fdabd8a2734c23e263a2228dbb8a7 100644 --- a/02-MSA-hello-world-gpu/solutions/hello-world.cu +++ b/02-MSA-hello-world-gpu/solutions/hello-world.cu @@ -51,7 +51,7 @@ int main(int argc, char** argv){ CUDA_RT_CALL( cudaPeekAtLastError() ); CUDA_RT_CALL( cudaDeviceSynchronize() ); - // TODO: Implement the MPI_Recv() call to receive the "payload" from rank 1 using directly "d_payload" as the target buffer on the GPU + // TODO: Implement the MPI_Recv() call to receive the "payload" from rank 0 using directly "d_payload" as the target buffer on the GPU if (rank == 1) { MPI_Recv(d_payload, 6, MPI_CHAR, 0, tag, MPI_COMM_WORLD, &stat); } diff --git a/02-MSA-hello-world-gpu/tasks/hello-world.cu b/02-MSA-hello-world-gpu/tasks/hello-world.cu index 6f6e11b58f60ade0e16c9b2b66556266262c230f..5ce3fb08026aef657040144adf31e37773b8c2ce 100644 --- a/02-MSA-hello-world-gpu/tasks/hello-world.cu +++ b/02-MSA-hello-world-gpu/tasks/hello-world.cu @@ -51,7 +51,7 @@ int main(int argc, char** argv){ CUDA_RT_CALL( cudaPeekAtLastError() ); CUDA_RT_CALL( cudaDeviceSynchronize() ); - // TODO: Implement the MPI_Recv() call to receive the "payload" from rank 1 using directly "d_payload" as the target buffer on the GPU + // TODO: Implement the MPI_Recv() call to receive the "payload" from rank 0 using directly "d_payload" as the target buffer on the GPU if (rank == 1) { MPI_Recv(); }