Skip to content

Commit

Permalink
Fixed small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
golosio committed Mar 21, 2021
1 parent d4120ce commit ef91946
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/spike_mpi.cu
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,8 @@ int ConnectMpi::CopySpikeFromRemote(int n_hosts, int max_spike_per_host,
// tolto controllo flag spike height ed eventuale ricezione
AddOffset<<<(n_spike_tot+1023)/1024, 1024>>>
(n_spike_tot, d_ExternalSourceSpikeNodeId, i_remote_node_0);
gpuErrchk( cudaPeekAtLastError() );
cudaDeviceSynchronize();
PushSpikeFromRemote<<<(n_spike_tot+1023)/1024, 1024>>>
(n_spike_tot, d_ExternalSourceSpikeNodeId);
gpuErrchk( cudaPeekAtLastError() );
Expand Down

0 comments on commit ef91946

Please sign in to comment.