Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 9d47b67

Browse files
committed
More small fixes
1 parent 29a7a96 commit 9d47b67

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

coreneuron/sim/fadvance_core.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)