Fixes for NVHPC 23.1 compiler#2239
Conversation
…c results for external_nrntest
Codecov Report
@@ Coverage Diff @@
## master #2239 +/- ##
=======================================
Coverage 56.14% 56.14%
=======================================
Files 620 620
Lines 124237 124235 -2
=======================================
Hits 69752 69752
+ Misses 54485 54483 -2
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
There is a new issue with |
|
✔️ 2615d68 -> Azure artifacts URL |
if (td < nt->_t) {
char buf[100];
std::snprintf(buf, sizeof(buf), "net_send td-t = %g", td - nt->_t);
se->pr(buf, td, net_cvode_instance);
abort();
hoc_execerror("net_send delay < 0", 0);
}If that is |
|
✔️ ba96dca -> Azure artifacts URL |
|
✔️ 086af47 -> Azure artifacts URL |
* If OpenMP GPU backend is enabled then `#pragma omp atomic capture` is not executed properly on CPU with NVHPC 23.1 (more details and tests in neuronsimulator/nrn#2239) * Wrap the update of `nsb->_cnt` inside an `if-statement` based on `nt->compute_gpu` in OpenACC visitor * Use C++ `if-statement` instead of in OpenMP pragma in some cases * Added unit test for code generation of `net_send_buffering()` on code generated for GPU --------- Co-authored-by: Olli Lupton <oliver.lupton@epfl.ch>
|
✔️ 8a86412 -> Azure artifacts URL |
|
✔️ 81393c7 -> Azure artifacts URL |
-Kieeeflag forsrc/oc/math.cppandNVHPC>=23.1and updatet13.hocresults forexternal_nrntestTested with NVHPC 23.1 in https://bbpgitlab.epfl.ch/hpc/cellular/nrn/-/pipelines/102984