Skip to content
Snippets Groups Projects
Commit 467e2884 authored by Andreas Herten's avatar Andreas Herten
Browse files

fix also master file

parent 65cb8797
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,7 @@ int main(int argc, char** argv){ ...@@ -51,7 +51,7 @@ int main(int argc, char** argv){
CUDA_RT_CALL( cudaPeekAtLastError() ); CUDA_RT_CALL( cudaPeekAtLastError() );
CUDA_RT_CALL( cudaDeviceSynchronize() ); 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) { if (rank == 1) {
#ifdef SOLUTION #ifdef SOLUTION
MPI_Recv(d_payload, 6, MPI_CHAR, 0, tag, MPI_COMM_WORLD, &stat); MPI_Recv(d_payload, 6, MPI_CHAR, 0, tag, MPI_COMM_WORLD, &stat);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment