[Openmp-commits] [PATCH] D62393: [OPENMP][NVPTX]Mark parallel level counter as volatile.

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jun 11 15:40:47 PDT 2019


ABataev added a comment.

In D62393#1539012 <https://reviews.llvm.org/D62393#1539012>, @jfb wrote:

> FWIW we already support `-fms-volatile`, so there's precedent if you wanted `-fnv-volatile` (however terrible that is).


Most probably, we don't need this option, clang should emit correct code for volatile vars in Cuda mode automatically.


Repository:
  rOMP OpenMP

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D62393/new/

https://reviews.llvm.org/D62393





More information about the Openmp-commits mailing list