[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:36 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,
+ interop_spec_t &InteropSpec) {
+ return nullptr;
+ }
+
+ virtual int32_t releaseInterop(omp_interop_val_t *Interop) {
----------------
kevinsala wrote:
Please use `Error` return type here instead of an integer.
https://github.com/llvm/llvm-project/pull/143491
More information about the Openmp-commits
mailing list