[Openmp-commits] [PATCH] D106310: [Libomptarget] Remove volatile from NVPTX work function

Joachim Protze via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 20 05:34:09 PDT 2021


protze.joachim added a comment.

If the volatile property is a problem when calling the function, how about keeping the variable volatile, but assigning the value into a local value (explicit read the volatile variable) and then calling the local function pointer?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D106310



More information about the Openmp-commits mailing list