This repository was archived by the owner on Mar 20, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ void nrncore2nrn_send_values(NrnThread* nth) {
319319 async (nth->streams [nth->stream_id ]))
320320 nrn_pragma_omp (target update from (gather_i [0 :1 ]) if (nth->compute_gpu ))
321321 }
322- nrn_pragma_acc (wait (nth->streams [nth->stream_id ))
322+ nrn_pragma_acc (wait (nth->streams [nth->stream_id ] ))
323323 nrn_pragma_omp (taskwait)
324324 for (int i = 0 ; i < tr->n_trajec ; ++i) {
325325 *(tr->scatter [i]) = *(tr->gather [i]);
@@ -343,7 +343,7 @@ static void* nrn_fixed_step_thread(NrnThread* nth) {
343343 /* @todo: do we need to update nth->_t on GPU: Yes (Michael, but can
344344 launch kernel) */
345345 nrn_pragma_acc (update device (nth->_t ) if (nth->compute_gpu ) async (nth->streams [nth->stream_id ]))
346- nrn_pragma_acc (wait (nth->streams [nth->stream_id ) ))
346+ nrn_pragma_acc (wait (nth->streams [nth->stream_id ] ))
347347 nrn_pragma_omp (target update to (nth->_t ) if (nth->compute_gpu ))
348348 fixed_play_continuous (nth);
349349
@@ -379,7 +379,7 @@ void* nrn_fixed_step_lastpart(NrnThread* nth) {
379379 if (nth->ncell ) {
380380 /* @todo: do we need to update nth->_t on GPU */
381381 nrn_pragma_acc (update device (nth->_t ) if (nth->compute_gpu ) async (nth->streams [nth->stream_id ]))
382- nrn_pragma_acc (wait (nth->streams [nth->stream_id ) ))
382+ nrn_pragma_acc (wait (nth->streams [nth->stream_id ] ))
383383 nrn_pragma_omp (target update to (nth->_t ) if (nth->compute_gpu ))
384384 fixed_play_continuous (nth);
385385 nonvint (nth);
You can’t perform that action at this time.
0 commit comments