XClib - fix to acc_atomic bug in NVHPC <=21.5
The recent mods in XClib for the detection of errors inside GPU regions have brought out a bug related to the atomic construct in hpc_sdk v21.5 and older. The removal of the explicit acc copy of the variable to be atomically updated seems to be an effective workaround.
I will remove the 'Draft' after a few more checks.
Edited by Ye Luo