[Openmp-commits] [llvm] [openmp] [OFFLOAD][OPENMP] 6.0 compatible interop interface (PR #143491)
Kevin Sala Penades via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jul 16 11:16:35 PDT 2025
================
@@ -937,6 +938,21 @@ struct GenericDeviceTy : public DeviceAllocatorTy {
bool useAutoZeroCopy();
virtual bool useAutoZeroCopyImpl() { return false; }
+ virtual omp_interop_val_t *createInterop(int32_t InteropType,
----------------
kevinsala wrote:
Since this operation may fail in some backends in the future, it's better to use `Expected<omp_interop_val_t*>`, as some other functions do.
https://github.com/llvm/llvm-project/pull/143491
More information about the Openmp-commits
mailing list