[clang] [llvm] [OpenMP]Initial parsing/sema support for target_device selector set (PR #118471)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 17 10:15:25 PST 2024
================
@@ -174,6 +177,8 @@ struct OMPContext {
BitVector ActiveTraits = BitVector(unsigned(TraitProperty::Last) + 1);
SmallVector<TraitProperty, 8> ConstructTraits;
+ static int DeviceNum;
+ static StringRef DeviceNumID;
----------------
alexey-bataev wrote:
This is the main question. Can it be affected somehow per file/function, or is it always the same for the whole compilation unit?
https://github.com/llvm/llvm-project/pull/118471
More information about the llvm-commits
mailing list