Skip to content

Commit d3be46f

Browse files
authored
Merge pull request #116 from golosio/fix_mpi_send
Fixed small bug in MPI send
2 parents ebc740d + 3e0766b commit d3be46f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/spike_mpi.cu

+1
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ int ConnectMpi::SendSpikeToRemote(int n_hosts, int max_spike_per_host)
324324
// nonblocking sent of spike packet to MPI proc ih
325325
MPI_Isend(&h_ExternalTargetSpikeNodeId[array_idx],
326326
n_spikes, MPI_INT, ih, tag, MPI_COMM_WORLD, &request);
327+
MPI_Request_free(&request);
327328
//printf("MPI_Send nspikes (src,tgt,nspike): "
328329
// "%d %d %d\n", mpi_id, ih, n_spikes);
329330
//printf("MPI_Send 1st-neuron-idx (src,tgt,idx): "

0 commit comments

Comments
 (0)