- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a DLL developed in C/C++ with OpenMP which I try to offload to an Intel(R) Iris(R) Xe Graphics. It compiles correctly, but I receive the error in the subject when executing the bolded line:
int lIntOffloadAvailable = 0;
#pragma omp target device(0) map(from: lIntOffloadAvailable)
{
lIntOffloadAvailable = 1;
}
Compiling with:
Intel C++ Compiler 2024 (from Intel(R) oneAPI Base Toolkit 2024.2)
IDE: Microsoft Visual Studio Community 2022 (64-bit) - Version 17.11.4
Intel Specific, Base Platform Toolset: v143
Enable OpenMP Offloading: Generate x86 + SPIR64 fat binary (/Qopenmp-targets:spir64)
OpenMP Support: Generate Parallel Code (/Qiopenmp)
Command Line: /DEBUG /fp:fast /Qiopenmp /Qfma
If you need more info, please request.
I look forward to your help.
Thanks in advance.
Link Copied

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page