Skip to content

Commit

Permalink
Removed unused variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
JackAKirk committed Apr 4, 2024
1 parent f0e4c84 commit 3390465
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/MPI_with_SYCL/send_recv_buff.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ int main(int argc, char *argv[]) {
sycl::accessor acc{buff, h};
h.host_task([=](sycl::interop_handle ih) {
void *device_ptr = getDevicePointer(acc, ih);
MPI_Status status;
// Send the data from rank 0 to rank 1.
MPI_Send(device_ptr, nsize, MPI_BYTE, 1, tag, MPI_COMM_WORLD);
printf("Sent %d elements from %d to 1\n", nelem, rank);
Expand Down

0 comments on commit 3390465

Please sign in to comment.