AI Tools from Intel
Find answers to your toolkit installation, configuration, and get-started questions.

Error: Unhandled exception at 0x00007FFC21196475 (omptarget.dll)

dtroncho
Beginner
482 Views

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.

Labels (2)
0 Kudos
0 Replies
Reply