[Openmp-commits] [openmp] [Libomptarget][NFC] Format in-line comments consistently (PR #77530)
via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jan 9 14:06:15 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-amdgpu
Author: Joseph Huber (jhuber6)
<details>
<summary>Changes</summary>
Summary:
The LLVM style uses /*Foo=*/ when indicating the name of a constant. See
https://llvm.org/docs/CodingStandards.html#comment-formatting. This is
useful for consistency, as well as because `clang-format` understands
this syntax and formats it more cleanly. Do a bulk update of this
syntax.
---
Patch is 40.40 KiB, truncated to 20.00 KiB below, full version: https://github.com/llvm/llvm-project/pull/77530.diff
17 Files Affected:
- (modified) openmp/libomptarget/DeviceRTL/include/State.h (+13-13)
- (modified) openmp/libomptarget/DeviceRTL/src/Kernel.cpp (+2-2)
- (modified) openmp/libomptarget/DeviceRTL/src/Parallelism.cpp (+13-13)
- (modified) openmp/libomptarget/DeviceRTL/src/Reduction.cpp (+1-1)
- (modified) openmp/libomptarget/include/Shared/Profile.h (+1-1)
- (modified) openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp (+6-8)
- (modified) openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h (+4-4)
- (modified) openmp/libomptarget/plugins-nextgen/common/src/JIT.cpp (+4-4)
- (modified) openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp (+20-27)
- (modified) openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp (+4-4)
- (modified) openmp/libomptarget/plugins-nextgen/generic-elf-64bit/src/rtl.cpp (+2-2)
- (modified) openmp/libomptarget/src/OpenMP/Mapping.cpp (+9-9)
- (modified) openmp/libomptarget/src/OpenMP/OMPT/Callback.cpp (+18-18)
- (modified) openmp/libomptarget/src/device.cpp (+4-4)
- (modified) openmp/libomptarget/src/interface.cpp (+3-3)
- (modified) openmp/libomptarget/src/omptarget.cpp (+3-3)
- (modified) openmp/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp (+12-12)
``````````diff
diff --git a/openmp/libomptarget/DeviceRTL/include/State.h b/openmp/libomptarget/DeviceRTL/include/State.h
index c93de4191f83fa..1a3490394458ff 100644
--- a/openmp/libomptarget/DeviceRTL/include/State.h
+++ b/openmp/libomptarget/DeviceRTL/include/State.h
@@ -240,29 +240,29 @@ lookupPtr(ValueKind Kind, bool IsReadonly, bool ForceTeamState) {
/// update ICV values we can declare in global scope.
template <typename Ty, ValueKind Kind> struct Value {
[[gnu::flatten, gnu::always_inline]] operator Ty() {
- return lookup(/* IsReadonly */ true, /* IdentTy */ nullptr,
- /* ForceTeamState */ false);
+ return lookup(/*IsReadonly=*/true, /*IdentTy=*/nullptr,
+ /*ForceTeamState=*/false);
}
[[gnu::flatten, gnu::always_inline]] Value &operator=(const Ty &Other) {
- set(Other, /* IdentTy */ nullptr);
+ set(Other, /*IdentTy=*/nullptr);
return *this;
}
[[gnu::flatten, gnu::always_inline]] Value &operator++() {
- inc(1, /* IdentTy */ nullptr);
+ inc(1, /*IdentTy=*/nullptr);
return *this;
}
[[gnu::flatten, gnu::always_inline]] Value &operator--() {
- inc(-1, /* IdentTy */ nullptr);
+ inc(-1, /*IdentTy=*/nullptr);
return *this;
}
[[gnu::flatten, gnu::always_inline]] void
assert_eq(const Ty &V, IdentTy *Ident = nullptr,
bool ForceTeamState = false) {
- ASSERT(lookup(/* IsReadonly */ true, Ident, ForceTeamState) == V, nullptr);
+ ASSERT(lookup(/*IsReadonly=*/true, Ident, ForceTeamState) == V, nullptr);
}
private:
@@ -273,12 +273,12 @@ template <typename Ty, ValueKind Kind> struct Value {
}
[[gnu::flatten, gnu::always_inline]] Ty &inc(int UpdateVal, IdentTy *Ident) {
- return (lookup(/* IsReadonly */ false, Ident, /* ForceTeamState */ false) +=
+ return (lookup(/*IsReadonly=*/false, Ident, /*ForceTeamState=*/false) +=
UpdateVal);
}
[[gnu::flatten, gnu::always_inline]] Ty &set(Ty UpdateVal, IdentTy *Ident) {
- return (lookup(/* IsReadonly */ false, Ident, /* ForceTeamState */ false) =
+ return (lookup(/*IsReadonly=*/false, Ident, /*ForceTeamState=*/false) =
UpdateVal);
}
@@ -290,8 +290,8 @@ template <typename Ty, ValueKind Kind> struct Value {
/// we can declare in global scope.
template <typename Ty, ValueKind Kind> struct PtrValue {
[[gnu::flatten, gnu::always_inline]] operator Ty() {
- return lookup(/* IsReadonly */ true, /* IdentTy */ nullptr,
- /* ForceTeamState */ false);
+ return lookup(/*IsReadonly=*/true, /*IdentTy=*/nullptr,
+ /*ForceTeamState=*/false);
}
[[gnu::flatten, gnu::always_inline]] PtrValue &operator=(const Ty Other) {
@@ -305,8 +305,8 @@ template <typename Ty, ValueKind Kind> struct PtrValue {
}
Ty &set(Ty UpdateVal) {
- return (lookup(/* IsReadonly */ false, /* IdentTy */ nullptr,
- /* ForceTeamState */ false) = UpdateVal);
+ return (lookup(/*IsReadonly=*/false, /*IdentTy=*/nullptr,
+ /*ForceTeamState=*/false) = UpdateVal);
}
template <typename VTy, typename Ty2> friend struct ValueRAII;
@@ -315,7 +315,7 @@ template <typename Ty, ValueKind Kind> struct PtrValue {
template <typename VTy, typename Ty> struct ValueRAII {
ValueRAII(VTy &V, Ty NewValue, Ty OldValue, bool Active, IdentTy *Ident,
bool ForceTeamState = false)
- : Ptr(Active ? &V.lookup(/* IsReadonly */ false, Ident, ForceTeamState)
+ : Ptr(Active ? &V.lookup(/*IsReadonly=*/false, Ident, ForceTeamState)
: (Ty *)utils::UndefPtr),
Val(OldValue), Active(Active) {
if (!Active)
diff --git a/openmp/libomptarget/DeviceRTL/src/Kernel.cpp b/openmp/libomptarget/DeviceRTL/src/Kernel.cpp
index 06b12fec21677c..95d4c728016d24 100644
--- a/openmp/libomptarget/DeviceRTL/src/Kernel.cpp
+++ b/openmp/libomptarget/DeviceRTL/src/Kernel.cpp
@@ -78,11 +78,11 @@ int32_t __kmpc_target_init(KernelEnvironmentTy &KernelEnvironment,
llvm::omp::OMPTgtExecModeFlags::OMP_TGT_EXEC_MODE_SPMD;
bool UseGenericStateMachine = Configuration.UseGenericStateMachine;
if (IsSPMD) {
- inititializeRuntime(/* IsSPMD */ true, KernelEnvironment,
+ inititializeRuntime(/*IsSPMD=*/true, KernelEnvironment,
KernelLaunchEnvironment);
synchronize::threadsAligned(atomic::relaxed);
} else {
- inititializeRuntime(/* IsSPMD */ false, KernelEnvironment,
+ inititializeRuntime(/*IsSPMD=*/false, KernelEnvironment,
KernelLaunchEnvironment);
// No need to wait since only the main threads will execute user
// code and workers will run into a barrier right away.
diff --git a/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp b/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
index 2c0701bd5358fd..7005477bf4c79d 100644
--- a/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
+++ b/openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
@@ -121,20 +121,20 @@ __kmpc_parallel_51(IdentTy *ident, int32_t, int32_t if_expr,
// created.
state::ValueRAII ParallelTeamSizeRAII(state::ParallelTeamSize, PTeamSize,
1u, TId == 0, ident,
- /* ForceTeamState */ true);
+ /*ForceTeamState=*/true);
state::ValueRAII ActiveLevelRAII(icv::ActiveLevel, 1u, 0u, TId == 0,
- ident, /* ForceTeamState */ true);
+ ident, /*ForceTeamState=*/true);
state::ValueRAII LevelRAII(icv::Level, 1u, 0u, TId == 0, ident,
- /* ForceTeamState */ true);
+ /*ForceTeamState=*/true);
// Synchronize all threads after the main thread (TId == 0) set up the
// team state properly.
synchronize::threadsAligned(atomic::acq_rel);
state::ParallelTeamSize.assert_eq(PTeamSize, ident,
- /* ForceTeamState */ true);
- icv::ActiveLevel.assert_eq(1u, ident, /* ForceTeamState */ true);
- icv::Level.assert_eq(1u, ident, /* ForceTeamState */ true);
+ /*ForceTeamState=*/true);
+ icv::ActiveLevel.assert_eq(1u, ident, /*ForceTeamState=*/true);
+ icv::Level.assert_eq(1u, ident, /*ForceTeamState=*/true);
// Ensure we synchronize before we run user code to avoid invalidating the
// assumptions above.
@@ -152,9 +152,9 @@ __kmpc_parallel_51(IdentTy *ident, int32_t, int32_t if_expr,
// __kmpc_target_deinit may not hold.
synchronize::threadsAligned(atomic::acq_rel);
- state::ParallelTeamSize.assert_eq(1u, ident, /* ForceTeamState */ true);
- icv::ActiveLevel.assert_eq(0u, ident, /* ForceTeamState */ true);
- icv::Level.assert_eq(0u, ident, /* ForceTeamState */ true);
+ state::ParallelTeamSize.assert_eq(1u, ident, /*ForceTeamState=*/true);
+ icv::ActiveLevel.assert_eq(0u, ident, /*ForceTeamState=*/true);
+ icv::Level.assert_eq(0u, ident, /*ForceTeamState=*/true);
// Ensure we synchronize to create an aligned region around the assumptions.
synchronize::threadsAligned(atomic::relaxed);
@@ -242,14 +242,14 @@ __kmpc_parallel_51(IdentTy *ident, int32_t, int32_t if_expr,
// created.
state::ValueRAII ParallelTeamSizeRAII(state::ParallelTeamSize, PTeamSize,
1u, true, ident,
- /* ForceTeamState */ true);
+ /*ForceTeamState=*/true);
state::ValueRAII ParallelRegionFnRAII(state::ParallelRegionFn, wrapper_fn,
(void *)nullptr, true, ident,
- /* ForceTeamState */ true);
+ /*ForceTeamState=*/true);
state::ValueRAII ActiveLevelRAII(icv::ActiveLevel, 1u, 0u, true, ident,
- /* ForceTeamState */ true);
+ /*ForceTeamState=*/true);
state::ValueRAII LevelRAII(icv::Level, 1u, 0u, true, ident,
- /* ForceTeamState */ true);
+ /*ForceTeamState=*/true);
// Master signals work to activate workers.
synchronize::threads(atomic::seq_cst);
diff --git a/openmp/libomptarget/DeviceRTL/src/Reduction.cpp b/openmp/libomptarget/DeviceRTL/src/Reduction.cpp
index 0a9db3edabccbf..744d1a3a231c83 100644
--- a/openmp/libomptarget/DeviceRTL/src/Reduction.cpp
+++ b/openmp/libomptarget/DeviceRTL/src/Reduction.cpp
@@ -69,7 +69,7 @@ static int32_t nvptx_parallel_reduce_nowait(void *reduce_data,
ShuffleReductFnTy shflFct,
InterWarpCopyFnTy cpyFct) {
uint32_t BlockThreadId = mapping::getThreadIdInBlock();
- if (mapping::isMainThreadInGenericMode(/* IsSPMD */ false))
+ if (mapping::isMainThreadInGenericMode(/*IsSPMD=*/false))
BlockThreadId = 0;
uint32_t NumThreads = omp_get_num_threads();
if (NumThreads == 1)
diff --git a/openmp/libomptarget/include/Shared/Profile.h b/openmp/libomptarget/include/Shared/Profile.h
index 7e580988a39baf..39817bab36cbb2 100644
--- a/openmp/libomptarget/include/Shared/Profile.h
+++ b/openmp/libomptarget/include/Shared/Profile.h
@@ -32,7 +32,7 @@ class Profiler {
Int32Envar ProfileGranularity =
Int32Envar("LIBOMPTARGET_PROFILE_GRANULARITY", 500);
- llvm::timeTraceProfilerInitialize(ProfileGranularity /* us */,
+ llvm::timeTraceProfilerInitialize(ProfileGranularity /*us=*/,
"libomptarget");
}
diff --git a/openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp b/openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
index b67642e9e1bcb3..8424d0f5df0822 100644
--- a/openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
+++ b/openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
@@ -2211,10 +2211,9 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
hsa_amd_pointer_info_t Info;
Info.size = sizeof(hsa_amd_pointer_info_t);
- hsa_status_t Status =
- hsa_amd_pointer_info(HstPtr, &Info, /* Allocator */ nullptr,
- /* Number of accessible agents (out) */ nullptr,
- /* Accessible agents */ nullptr);
+ hsa_status_t Status = hsa_amd_pointer_info(
+ HstPtr, &Info, /*Allocator=*/nullptr, /*num_agents_accessible=*/nullptr,
+ /*accessible=*/nullptr);
if (auto Err = Plugin::check(Status, "Error in hsa_amd_pointer_info: %s"))
return std::move(Err);
@@ -2789,7 +2788,7 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
AMDHostDeviceTy &HostDevice;
/// The current size of the global device memory pool (managed by us).
- uint64_t DeviceMemoryPoolSize = 1L << 29L /* 512MB */;
+ uint64_t DeviceMemoryPoolSize = 1L << 29L /*512MB=*/;
/// The current size of the stack that will be used in cases where it could
/// not be statically determined.
@@ -3031,9 +3030,8 @@ struct AMDGPUPluginTy final : public GenericPluginTy {
/// Check whether the image is compatible with an AMDGPU device.
Expected<bool> isELFCompatible(StringRef Image) const override {
// Get the associated architecture and flags from the ELF.
- auto ElfOrErr =
- ELF64LEObjectFile::create(MemoryBufferRef(Image, /*Identifier=*/""),
- /*InitContent=*/false);
+ auto ElfOrErr = ELF64LEObjectFile::create(
+ MemoryBufferRef(Image, /*Identifier=*/""), /*InitContent=*/false);
if (!ElfOrErr)
return ElfOrErr.takeError();
std::optional<StringRef> Processor = ElfOrErr->tryGetCPUName();
diff --git a/openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h b/openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
index d9fe938790ca76..8707e7b4c504e3 100644
--- a/openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
+++ b/openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
@@ -138,7 +138,7 @@ class GenericGlobalHandlerTy {
const GlobalTy &HostGlobal,
const GlobalTy &DeviceGlobal) {
return moveGlobalBetweenDeviceAndHost(Device, HostGlobal, DeviceGlobal,
- /* D2H */ true);
+ /*D2H=*/true);
}
/// Copy the memory associated with a global from the device to its
@@ -147,7 +147,7 @@ class GenericGlobalHandlerTy {
Error readGlobalFromDevice(GenericDeviceTy &Device, DeviceImageTy &Image,
const GlobalTy &HostGlobal) {
return moveGlobalBetweenDeviceAndHost(Device, Image, HostGlobal,
- /* D2H */ true);
+ /*D2H=*/true);
}
/// Copy the memory associated with a global from the host to its counterpart
@@ -156,7 +156,7 @@ class GenericGlobalHandlerTy {
Error writeGlobalToDevice(GenericDeviceTy &Device, const GlobalTy &HostGlobal,
const GlobalTy &DeviceGlobal) {
return moveGlobalBetweenDeviceAndHost(Device, HostGlobal, DeviceGlobal,
- /* D2H */ false);
+ /*D2H=*/false);
}
/// Copy the memory associated with a global from the host to its counterpart
@@ -165,7 +165,7 @@ class GenericGlobalHandlerTy {
Error writeGlobalToDevice(GenericDeviceTy &Device, DeviceImageTy &Image,
const GlobalTy &HostGlobal) {
return moveGlobalBetweenDeviceAndHost(Device, Image, HostGlobal,
- /* D2H */ false);
+ /*D2H=*/false);
}
};
diff --git a/openmp/libomptarget/plugins-nextgen/common/src/JIT.cpp b/openmp/libomptarget/plugins-nextgen/common/src/JIT.cpp
index 7275be4edfca5b..9eb610cab4de66 100644
--- a/openmp/libomptarget/plugins-nextgen/common/src/JIT.cpp
+++ b/openmp/libomptarget/plugins-nextgen/common/src/JIT.cpp
@@ -93,7 +93,7 @@ createModuleFromImage(const __tgt_device_image &Image, LLVMContext &Context) {
StringRef Data((const char *)Image.ImageStart,
target::getPtrDiff(Image.ImageEnd, Image.ImageStart));
std::unique_ptr<MemoryBuffer> MB = MemoryBuffer::getMemBuffer(
- Data, /* BufferName */ "", /* RequiresNullTerminator */ false);
+ Data, /*BufferName=*/"", /*RequiresNullTerminator=*/false);
return createModuleFromMemoryBuffer(MB, Context);
}
@@ -186,7 +186,7 @@ void JITEngine::codegen(TargetMachine *TM, TargetLibraryInfoImpl *TLII,
TM->addPassesToEmitFile(PM, OS, nullptr,
TT.isNVPTX() ? CodeGenFileType::AssemblyFile
: CodeGenFileType::ObjectFile,
- /* DisableVerify */ false, MMIWP);
+ /*DisableVerify=*/false, MMIWP);
PM.run(M);
}
@@ -196,8 +196,8 @@ JITEngine::backend(Module &M, const std::string &ComputeUnitKind,
unsigned OptLevel) {
auto RemarksFileOrErr = setupLLVMOptimizationRemarks(
- M.getContext(), /* RemarksFilename */ "", /* RemarksPasses */ "",
- /* RemarksFormat */ "", /* RemarksWithHotness */ false);
+ M.getContext(), /*RemarksFilename=*/"", /*RemarksPasses=*/"",
+ /*RemarksFormat=*/"", /*RemarksWithHotness=*/false);
if (Error E = RemarksFileOrErr.takeError())
return std::move(E);
if (*RemarksFileOrErr)
diff --git a/openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp b/openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
index 9490e58fc669cd..1d5ab2c97751aa 100644
--- a/openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
+++ b/openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
@@ -64,7 +64,7 @@ struct RecordReplayTy {
void *suggestAddress(uint64_t MaxMemoryAllocation) {
// Get a valid pointer address for this system
void *Addr =
- Device->allocate(1024, /* HstPtr */ nullptr, TARGET_ALLOC_DEFAULT);
+ Device->allocate(1024, /*HstPtr=*/nullptr, TARGET_ALLOC_DEFAULT);
Device->free(Addr);
// Align Address to MaxMemoryAllocation
Addr = (void *)alignPtr((Addr), MaxMemoryAllocation);
@@ -104,8 +104,8 @@ struct RecordReplayTy {
constexpr size_t STEP = 1024 * 1024 * 1024ULL;
MemoryStart = nullptr;
for (TotalSize = MAX_MEMORY_ALLOCATION; TotalSize > 0; TotalSize -= STEP) {
- MemoryStart = Device->allocate(TotalSize, /* HstPtr */ nullptr,
- TARGET_ALLOC_DEFAULT);
+ MemoryStart =
+ Device->allocate(TotalSize, /*HstPtr=*/nullptr, TARGET_ALLOC_DEFAULT);
if (MemoryStart)
break;
}
@@ -214,8 +214,7 @@ struct RecordReplayTy {
for (auto &OffloadEntry : Image.getOffloadEntryTable()) {
if (!OffloadEntry.size)
continue;
- Size += std::strlen(OffloadEntry.name) + /* '\0' */ 1 +
- /* OffloadEntry.size value */ sizeof(uint32_t) +
+ Size += std::strlen(OffloadEntry.name) + sizeof("") + sizeof(uint32_t) +
OffloadEntry.size;
}
@@ -735,13 +734,12 @@ Error GenericDeviceTy::init(GenericPluginTy &Plugin) {
if (ompt::Initialized) {
bool ExpectedStatus = false;
if (OmptInitialized.compare_exchange_strong(ExpectedStatus, true))
- performOmptCallback(device_initialize,
- /* device_num */ DeviceId +
- Plugin.getDeviceIdStartIndex(),
- /* type */ getComputeUnitKind().c_str(),
- /* device */ reinterpret_cast<ompt_device_t *>(this),
- /* lookup */ ompt::lookupCallbackByName,
- /* documentation */ nullptr);
+ performOmptCallback(device_initialize, /*device_num=*/DeviceId +
+ Plugin.getDeviceIdStartIndex(),
+ /*type=*/getComputeUnitKind().c_str(),
+ /*device=*/reinterpret_cast<ompt_device_t *>(this),
+ /*lookup=*/ompt::lookupCallbackByName,
+ /*documentation=*/nullptr);
}
#endif
@@ -835,7 +833,7 @@ Error GenericDeviceTy::deinit(GenericPluginTy &Plugin) {
bool ExpectedStatus = true;
if (OmptInitialized.compare_exchange_strong(ExpectedStatus, false))
performOmptCallback(device_finalize,
- /* device_num */ DeviceId +
+ /*device_num=*/DeviceId +
Plugin.getDeviceIdStartIndex());
}
#endif
@@ -897,16 +895,11 @@ GenericDeviceTy::loadBinary(GenericPluginTy &Plugin,
if (ompt::Initialized) {
size_t Bytes =
getPtrDiff(InputTgtImage->ImageEnd, InputTgtImage->ImageStart);
- performOmptCallback(device_load,
- /* device_num */ DeviceId +
- Plugin.getDeviceIdStartIndex(),
- /* FileName */ nullptr,
- /* File Offset */ 0,
- /* VmaInFile */ nullptr,
- /* ImgSize */ Bytes,
- /* HostAddr */ InputTgtImage->ImageStart,
- /* DeviceAddr */ nullptr,
- /* FIXME: ModuleId */ 0);
+ performOmptCallback(
+ device_load, /*device_num=*/DeviceId + Plugin.getDeviceIdStartIndex(),
+ /*FileName=*/nullptr, /*FileOffset=*/0, /*VmaInFile=*/nullptr,
+ /*ImgSize=*/Bytes, /*HostAddr=*/InputTgtImage->ImageStart,
+ /*DeviceAddr=*/nullptr, /* FIXME: ModuleId */ 0);
}
#endif
@@ -1293,7 +1286,7 @@ Error PinnedAllocationMapTy::lockMappedHostBuffer(void *HstPtr, size_t Size) {
// If pinned, just insert the entry representing the whole pinned buffer.
if (*IsPinnedOrErr)
return insertEntry(BaseHstPtr, BaseDevAccessiblePtr, BaseSize,
- /* Externally locked */ true);
+ /*Externallylocked=*/true);
// Not externally pinned. Do nothing if locking of mapped buffers is disabled.
if (!LockMappedBuffers)
@@ -1863,7 +1856,7 @@ int32_t __tgt_rtl_data_not...
[truncated]
``````````
</details>
https://github.com/llvm/llvm-project/pull/77530
More information about the Openmp-commits
mailing list