@@ -317,7 +317,10 @@ void nrncore2nrn_send_values(NrnThread* nth) {
317317 double * gather_i = tr->gather [i];
318318 nrn_pragma_acc (update self (gather_i [0 :1 ]) if (nth->compute_gpu )
319319 async (nth->streams [nth->stream_id ]))
320- nrn_pragma_omp (target update from (gather_i [0 :1 ]) if (nth->compute_gpu ) depend (inout: nth->streams [nth->stream_id ]) nowait)
320+ // clang-format off
321+ nrn_pragma_omp (target update from (gather_i [0 :1 ]) if (nth->compute_gpu )
322+ depend (inout: nth->streams [nth->stream_id ]) nowait)
323+ // clang-format on
321324 }
322325 nrn_pragma_acc (wait async (nth->streams [nth->stream_id ]))
323326 for (int i = 0 ; i < tr->n_trajec ; ++i) {
@@ -341,7 +344,8 @@ static void* nrn_fixed_step_thread(NrnThread* nth) {
341344 if (nth->ncell ) {
342345 /* @todo: do we need to update nth->_t on GPU: Yes (Michael, but can
343346 launch kernel) */
344- nrn_pragma_acc (update device (nth->_t ) if (nth->compute_gpu ) async (nth->streams [nth->stream_id ]))
347+ nrn_pragma_acc (update device (nth->_t ) if (nth->compute_gpu )
348+ async (nth->streams [nth->stream_id ]))
345349 nrn_pragma_acc (wait async (nth->streams [nth->stream_id ]))
346350 nrn_pragma_omp (target update to (nth->_t ) if (nth->compute_gpu ))
347351 fixed_play_continuous (nth);
@@ -377,7 +381,8 @@ void* nrn_fixed_step_lastpart(NrnThread* nth) {
377381
378382 if (nth->ncell ) {
379383 /* @todo: do we need to update nth->_t on GPU */
380- nrn_pragma_acc (update device (nth->_t ) if (nth->compute_gpu ) async (nth->streams [nth->stream_id ]))
384+ nrn_pragma_acc (update device (nth->_t ) if (nth->compute_gpu )
385+ async (nth->streams [nth->stream_id ]))
381386 nrn_pragma_acc (wait async (nth->streams [nth->stream_id ]))
382387 nrn_pragma_omp (target update to (nth->_t ) if (nth->compute_gpu ))
383388 fixed_play_continuous (nth);
0 commit comments