[Openmp-commits] [openmp] [Libomptarget] Pass '-Werror=global-constructors' to the libomptarget build (PR #88531)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Tue Apr 16 06:16:47 PDT 2024
================
@@ -562,11 +565,12 @@ Error GenericKernelTy::launch(GenericDeviceTy &GenericDevice, void **ArgPtrs,
// Record the kernel description after we modified the argument count and num
// blocks/threads.
- if (RecordReplay.isRecording()) {
- RecordReplay.saveImage(getName(), getImage());
- RecordReplay.saveKernelInput(getName(), getImage());
- RecordReplay.saveKernelDescr(getName(), Ptrs.data(), KernelArgs.NumArgs,
- NumBlocks, NumThreads, KernelArgs.Tripcount);
+ if (getRecordReplay().isRecording()) {
+ getRecordReplay().saveImage(getName(), getImage());
+ getRecordReplay().saveKernelInput(getName(), getImage());
+ getRecordReplay().saveKernelDescr(getName(), Ptrs.data(),
----------------
jhuber6 wrote:
Yeah, I should probably make a patch before this that just initializes it with the plugin initialization.
https://github.com/llvm/llvm-project/pull/88531
More information about the Openmp-commits
mailing list