- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am step through the sample program provided at https://oneapi-src.github.io/DPCPP_Reference/model/sample-program.html
The code breaks at the following line:
queue q;
q.submit([&](handler& h) {
auto c_res = c_buf.get_access<access::mode::write>(h);
auto a_in = a_buf.get_access<access::mode::read>(h);
auto b_in = b_buf.get_access<access::mode::read>(h);
h.parallel_for(a_size,
[=](id<1> idx) {
c_res[idx] = a_in[idx] + b_in[idx];
});
});
with the following output:
Platform: Intel(R) FPGA Emulation Platform for OpenCL(TM)
Device: Intel(R) FPGA Emulation Device
Platform: Intel(R) OpenCL
Device: Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz
Platform: Intel(R) OpenCL HD Graphics
Device: Intel(R) UHD Graphics
InvalidBuiltinSetName: Expects OpenCL12, OpenCL20. Actual is OpenCL.DebugInfo.100 [Src: D:\qb\workspace\21461\source\gfx-driver\Source\IGC\AdaptorOCL\SPIRV\libSPIRV\SPIRVModule.cpp:565 SPIRVBuiltinSetNameMap::rfind(BuiltinSetName, &BuiltinSet) ]
internal compiler error, abnormal program termination
The versions of Visual Studio and Intel compilers are as follows:
Microsoft Visual Studio Community 2019
Version 16.11.23
VisualStudio.16.Release/16.11.23+33214.272
Microsoft .NET Framework
Version 4.8.04084
Installed Version: Community
Visual C++ 2019 00435-00000-00000-AA240
Microsoft Visual C++ 2019
ASP.NET and Web Tools 2019 16.11.115.10959
ASP.NET and Web Tools 2019
C# Tools 3.11.0-4.22108.8+d9bef045c4362fbcab27ef35daec4e95c8ff47e1
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Intel Libraries for oneAPI Package ID: w_oneAPI_2023.0.0.25839
Intel Libraries for oneAPI – toolkit version: 2023.0.0, extension version 23.0.0.16, Package ID: w_oneAPI_2023.0.0.25839, Copyright © 2019-2022 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.
Intel® Advisor 2023.0 613505
Intel® Advisor 2023.0, (build 613505), Copyright © 2009-2023 Intel Corporation. All rights reserved.
Intel® C++ Compiler Package ID: w_oneAPI_2023.0.0.25839
Intel® C++ Compiler – toolkit version: 2023.0.0, extension version 23.0.16, Package ID: w_oneAPI_2023.0.0.25839, Copyright © 2002-2022 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.
Intel® C++ Compiler Classic Package ID: w_oneAPI_2023.0.0.25839
Intel® C++ Compiler Classic – toolkit version: 2023.0.0, extension version 19.2.11.16, Package ID: w_oneAPI_2023.0.0.25839, Copyright © 2002-2022 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.
Intel® Inspector 2023.0 606330
Intel® Inspector 2023.0, (build 606330), Copyright © 2009-2023 Intel Corporation. All rights reserved.
Intel® oneAPI DPC++ Compiler Package ID: w_oneAPI_2023.0.0.25839
Intel® oneAPI DPC++ Compiler – toolkit version: 2023.0.0, extension version 23.0.0.16, Package ID: w_oneAPI_2023.0.0.25839, Copyright © 2019-2022 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others.
Intel® oneAPI Menu & Samples 10.10.392.9731
Intel® oneAPI Visual Studio Menu & Samples Extension
Intel® VTune™ Profiler 2023 1.3.3
Intel® VTune™ Profiler 2023, (build 1.3.3), Copyright © 2009-2022 Intel Corporation. All rights reserved.
IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
NuGet Package Manager 5.11.2
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
Shortcut Exporter 1.0
Information about my package
Snippet Designer 1.8.1
Snippet Designer is a Visual Studio plug in which allows you to create and search for snippets inside the IDE
Test Adapter for Boost.Test 1.0
Enables Visual Studio's testing tools with unit tests written for Boost.Test. The use terms and Third Party Notices are available in the extension installation directory.
Test Adapter for Google Test 1.0
Enables Visual Studio's testing tools with unit tests written for Google Test. The use terms and Third Party Notices are available in the extension installation directory.
TypeScript Tools 16.0.30526.2002
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 3.11.0-4.22108.8+d9bef045c4362fbcab27ef35daec4e95c8ff47e1
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for CMake 1.0
Visual Studio Tools for CMake
Is there a way to fix this issue?
Thank you.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
Could you please try building your code after updating it to the latest driver?
Please refer to the below link for downloading the latest driver.
https://www.intel.com/content/www/us/en/download/19344/intel-graphics-windows-dch-drivers.html
If this does not resolve your issue, could you please try executing the below command in the Intel oneAPI command prompt and share the result with us?
sycl-ls --verbose
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Pendyala,
On downloading the suggested driver and installing it, the error goes away *only as long as the machine is not turned off*
At this time, the output of sycl-ls --verbose is the left hand side of the diff.
As soon as I reboot the machine, and try to run my program, the error reappears. The output of sysl-ls --verbose now is the right hand side of the diff.
The diff itself can be viewed at:
https://www.diffchecker.com/L4YBrtpD/
So, it seems like restarting the machine messes up with some configurations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Could you please try rebuilding your code after restarting your system and let us know the results?
We cannot able to access your link. Could you please provide the error log in a text file?
Could you please provide the OS and Hardware details you are using?
To resolve the error you can also set the SYCL_DEVICE_FILTER to OpenCL so that SYCL runtime only loads the OpenCL backend.
set SYCL_DEVICE_FILTER=opencl
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
set SYCL_DEVICE_FILTER=opencl
Doing the above does not work. The error appears again as I run the code after cleaning and rebuilding. The OS is windows 10, I am using Visual Studio 2019 to compile and build the code. You also asked for hardware details -- what precisely do you want here? I believe the Intel CPU/GPU details should be available for your to examine below where I provide the output of sycl-ls verbose.
As you asked for, I attach the text files inline:
sycl-ls --verbose output after running the updated driver install file but before restarting machine:
[opencl:acc:0] Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
[opencl:cpu:1] Intel(R) OpenCL, Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz 3.0 [2022.15.12.0.01_081451]
[opencl:gpu:2] Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 3.0 [31.0.101.2114]
[ext_oneapi_level_zero:gpu:0] Intel(R) Level-Zero, Intel(R) UHD Graphics 1.3 [1.3.0]
Platforms: 4
Platform [#1]:
Version : OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3
Name : Intel(R) FPGA Emulation Platform for OpenCL(TM)
Vendor : Intel(R) Corporation
Devices : 1
Device [#0]:
Type : acc
Version : 1.2
Name : Intel(R) FPGA Emulation Device
Vendor : Intel(R) Corporation
Driver : 2022.15.12.0.01_081451
Platform [#2]:
Version : OpenCL 3.0 WINDOWS
Name : Intel(R) OpenCL
Vendor : Intel(R) Corporation
Devices : 1
Device [#1]:
Type : cpu
Version : 3.0
Name : Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz
Vendor : Intel(R) Corporation
Driver : 2022.15.12.0.01_081451
Platform [#3]:
Version : OpenCL 3.0
Name : Intel(R) OpenCL HD Graphics
Vendor : Intel(R) Corporation
Devices : 1
Device [#2]:
Type : gpu
Version : 3.0
Name : Intel(R) UHD Graphics
Vendor : Intel(R) Corporation
Driver : 31.0.101.2114
Platform [#4]:
Version : 1.3
Name : Intel(R) Level-Zero
Vendor : Intel(R) Corporation
Devices : 1
Device [#0]:
Type : gpu
Version : 1.3
Name : Intel(R) UHD Graphics
Vendor : Intel(R) Corporation
Driver : 1.3.0
default_selector() : gpu, Intel(R) Level-Zero, Intel(R) UHD Graphics 1.3 [1.3.0]
accelerator_selector() : acc, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
cpu_selector() : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz 3.0 [2022.15.12.0.01_081451]
gpu_selector() : gpu, Intel(R) Level-Zero, Intel(R) UHD Graphics 1.3 [1.3.0]
custom_selector(gpu) : gpu, Intel(R) Level-Zero, Intel(R) UHD Graphics 1.3 [1.3.0]
custom_selector(cpu) : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz 3.0 [2022.15.12.0.01_081451]
custom_selector(acc) : acc, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
sycl-ls --verbose output after restarting machine:
[opencl:acc:0] Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
[opencl:cpu:1] Intel(R) OpenCL, Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz 3.0 [2022.15.12.0.01_081451]
[opencl:gpu:2] Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 2.1 [27.20.100.8853]
Platforms: 3
Platform [#1]:
Version : OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3
Name : Intel(R) FPGA Emulation Platform for OpenCL(TM)
Vendor : Intel(R) Corporation
Devices : 1
Device [#0]:
Type : acc
Version : 1.2
Name : Intel(R) FPGA Emulation Device
Vendor : Intel(R) Corporation
Driver : 2022.15.12.0.01_081451
Platform [#2]:
Version : OpenCL 3.0 WINDOWS
Name : Intel(R) OpenCL
Vendor : Intel(R) Corporation
Devices : 1
Device [#1]:
Type : cpu
Version : 3.0
Name : Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz
Vendor : Intel(R) Corporation
Driver : 2022.15.12.0.01_081451
Platform [#3]:
Version : OpenCL 2.1
Name : Intel(R) OpenCL HD Graphics
Vendor : Intel(R) Corporation
Devices : 1
Device [#2]:
Type : gpu
Version : 2.1
Name : Intel(R) UHD Graphics
Vendor : Intel(R) Corporation
Driver : 27.20.100.8853
default_selector() : gpu, Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 2.1 [27.20.100.8853]
accelerator_selector() : acc, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
cpu_selector() : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz 3.0 [2022.15.12.0.01_081451]
gpu_selector() : gpu, Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 2.1 [27.20.100.8853]
custom_selector(gpu) : gpu, Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 2.1 [27.20.100.8853]
custom_selector(cpu) : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz 3.0 [2022.15.12.0.01_081451]
custom_selector(acc) : acc, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I can observe that the Intel(R) UHD Graphics device with level_zero backend is available in the sycl-ls output information before restarting the machine. Have you faced the same error before restarting the machine?
Could you please try the below command in the Intel oneAPI command prompt for Intel 64 for Visual Studio 2022 and let us know the results?
set SYCL_DEVICE_FILTER=opencl:gpu:2.0
If the error still persists, we would suggest you reinstall the Intel oneAPI Base Toolkit and Intel oneAPI HPC Toolkit after successful uninstallation.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
" Have you faced the same error before restarting the machine?"
When I install the driver and have not yet restarted the machine, the executable builds and runs fine.(This is the first sycl-ls --verbose output in my message above)
It is after restarting that this problem occurs (this is the second sycl-ls --verbose output in my message above).
I tried what you suggested below:
C:\Program Files (x86)\Intel\oneAPI>echo %SYCL_DEVICE_FILTER%
%SYCL_DEVICE_FILTER%
C:\Program Files (x86)\Intel\oneAPI>set SYCL_DEVICE_FILTER=opencl:gpu:2.0
C:\Program Files (x86)\Intel\oneAPI>echo %SYCL_DEVICE_FILTER%
opencl:gpu:2.0
Yet the problem persists of not being able to run a DPCPP executable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I installed the intel one API a few days ago. After the installation, the example DPCPPConsoleApplication1 was calculated correctly.
I then tried to add the Mathematical Kernel Library (mkl) to the linker, but this did not work. Therefore, I tried an example with the Microsoft APM c++. The following day I started the example DPCPPConsoleApplication1 again, this time the following error message appeared within this code snippet :
q.submit([&](handler& h) {
accessor a(a_buf, h, read_only);
accessor b(b_buf, h, read_only);
accessor sum(sum_buf, h, write_only, no_init);
h.parallel_for(num_items, [=](auto i) { sum[i] = a[i] + b[i]; });
});
Error Message
Running on device: Intel(R) UHD Graphics 630
Vector size: 10000
InvalidBuiltinSetName: Expects OpenCL12, OpenCL20. Actual is OpenCL.DebugInfo.100 [Src: D:\qb\workspace\21461\source\gfx-driver\Source\IGC\AdaptorOCL\SPIRV\libSPIRV\SPIRVModule.cpp:565 SPIRVBuiltinSetNameMap::rfind(BuiltinSetName, &BuiltinSet) ]
info: internal compiler error
Compiler options
/Od /Zi /D "_DEBUG" /D "_UNICODE" /D "UNICODE" /WX- /MDd /std:c++17 /EHsc /W3 /nologo /Fo"x64\Debug\"
Linker options
/Fe"D:\Documents\Visual Studio 2019\source\repos\DPCPPConsoleApplication1\x64\Debug\DPCPPConsoleApplication1.exe" /WX- /nologo
C:\Program Files (x86)\Intel\oneAPI>sycl-ls --verbose
[opencl:acc:0] Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
[opencl:cpu:1] Intel(R) OpenCL, Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 3.0 [2022.15.12.0.01_081451]
[opencl:gpu:2] Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 630 2.1 [26.20.100.8141]
Platforms: 3
Platform [#1]:
Version : OpenCL 1.2 Intel(R) FPGA SDK for OpenCL(TM), Version 20.3
Name : Intel(R) FPGA Emulation Platform for OpenCL(TM)
Vendor : Intel(R) Corporation
Devices : 1
Device [#0]:
Type : acc
Version : 1.2
Name : Intel(R) FPGA Emulation Device
Vendor : Intel(R) Corporation
Driver : 2022.15.12.0.01_081451
Platform [#2]:
Version : OpenCL 3.0 WINDOWS
Name : Intel(R) OpenCL
Vendor : Intel(R) Corporation
Devices : 1
Device [#1]:
Type : cpu
Version : 3.0
Name : Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Vendor : Intel(R) Corporation
Driver : 2022.15.12.0.01_081451
Platform [#3]:
Version : OpenCL 2.1
Name : Intel(R) OpenCL HD Graphics
Vendor : Intel(R) Corporation
Devices : 1
Device [#2]:
Type : gpu
Version : 2.1
Name : Intel(R) UHD Graphics 630
Vendor : Intel(R) Corporation
Driver : 26.20.100.8141
default_selector() : gpu, Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 630 2.1 [26.20.100.8141]
accelerator_selector() : acc, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
cpu_selector() : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 3.0 [2022.15.12.0.01_081451]
gpu_selector() : gpu, Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 630 2.1 [26.20.100.8141]
custom_selector(gpu) : gpu, Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 630 2.1 [26.20.100.8141]
custom_selector(cpu) : cpu, Intel(R) OpenCL, Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 3.0 [2022.15.12.0.01_081451]
custom_selector(acc) : acc, Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
I read in the forum that some users of the intel oneAPI have the same problem. Unfortunately, I have not yet been able to find a solution.
I would be very pleased if you could help me find a solution.
Thank you very much,
Jörg
Translated with www.DeepL.com/Translator (free version)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I can observe that after restarting the system your Graphics version is 27.20.100.8853.
As suggested before could you please install the latest driver in your system and reinstall the Intel oneAPI Base Toolkit and Intel oneAPI HPC Toolkit after successful uninstallation to resolve the error?
In addition could you please try installing the latest Visual Studio 2022 before installing oneAPI Base and HPC Toolkits?
Please refer to the below link for downloading the latest driver.
https://www.intel.com/content/www/us/en/download/19344/intel-graphics-windows-dch-drivers.html
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a disappointing response. Reinstallation of IntelOneAPI is time consuming. Installation of Visual Studio 2022 (any edition of VS) is also notoriously time consuming. Throughout this thread even after reading your response, it is not clear what precisely the problem is. I doubt whether reinstallation will solve any issue because you have not indicated **why** you expect reinstallation to help -- what precisely will it fix? Which setting is going haywire? Is there a smaller code example that we can run to figure out what is amiss? For all we know, we could be doing this reinstallation again and again without knowing what precisely we are looking for.
I have access to a different machine where I have Visual Studio 2019 but have not installed IntelOneAPI. Perhaps I can try there when I have time and motivation. In the meantime, I will postpone possible usage of DPC++.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
as I wrote in my post, the test example was finally run after updating the Intel drivers, because reinstalling Visual Studio and the oneApi did not lead to the hoped solution.
Thus, on my computer, the following steps were necessary:
1) Uninstalling all Visual Studio Apps (vs 2019, vs Code),
2) Uninstalling the Intel oneAPI,
3) Installation of vs 2022 (version 17.5.1),
4) Installing Intel oneAPI and lastly,
5) updating the Intel drivers
[opencl:acc:0] Intel(R) FPGA Emulation Platform for OpenCL(TM), Intel(R) FPGA Emulation Device 1.2 [2022.15.12.0.01_081451]
[opencl:cpu:1] Intel(R) OpenCL, Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 3.0 [2022.15.12.0.01_081451]
[opencl:gpu:2] Intel(R) OpenCL HD Graphics, Intel(R) UHD Graphics 630 3.0 [31.0.101.2115]
[ext_oneapi_level_zero:gpu:0] Intel(R) Level-Zero, Intel(R) UHD Graphics 630 1.3 [1.3.0]
I kept the compiler and linker settings unchanged from Visual Studio 2022.
Please try the vector-add sample, which is included in the AppData\Local\Intel\oneapi\Samples\Archive directory.
Translated with www.DeepL.com/Translator (free version)
Best Regards
Jörg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Sorry for the inconvenience caused. As your Graphics version is downgraded to 27.20.100.8853 from 31.0.101.2114 after restarting the system.
So we have suggested installing the latest driver in your system. Please find the below link for downloading the latest driver.
https://www.intel.com/content/www/us/en/download/19344/intel-graphics-windows-dch-drivers.html
Also could you please try running the below command in the Intel oneAPI command prompt for Intel 64 for Visual Studio 2022 and let us know the results by running the application?
set SYCL_DEVICE_FILTER=2
You can also see the @Jörg_Kobarg result. The issue got resolved after upgrading to the latest graphics driver version.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
thank you for your reply, I have solved the issue in the meantime and posted a message about this.
See Re:Problem solved with Visual Studio and one API
I say goodbye from this thread.
Best Regards
Jörg Kobarg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi TryerGit,
We haven't heard back from you. Could you please provide an update on your issue?
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I will not be able to uninstall VS2019 on my machine and install VS2022 and uninstall OneAPI and then reinstall OneAPI and then uninstall old GPU drivers and reinstall new GPU drivers since (1) OneAPI installation provides option to integrate with VS2019 and hence VS2019 should be supported or else the documentation should be updated to indicate that only VS2022 is supported (https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-intel-oneapi-base-windows/top/run-a-sample-project-using-an-ide.html indicates that Visual Studio 2019 is supported) (2) my time is limited and unfortunately it would be difficult for me to uninstall and reinstall 3 different and big softwares (Visual Studio, OneAPI, Graphics drivers).
Do close this thread/stop monitoring this thread if that is part of your operating procedure.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We know your time was valuable. We are trying to resolve your issue as soon as possible.
Yes, Visual Studio 2019 is still compatible with Intel oneAPI 2023.0.
You need not install all 3 softwares. Please try upgrading to the latest graphics driver version and let us know the result.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I already tried that. The outcome is that the code in the OP works only as long as the machine is not shut off and rebooted. Once rebooted, the issue reappears. Based on this, you had suggested me to give the output of sycl-ls --verbose in both cases.
The output of sycl-ls --verbose in case the machine is not restarted yet (after installing the latest drivers) is different from the output of sycl-ls --verbose after restarting the machine. I have already provided this output as a link to diffchecker so that the difference is easily visible. You had stated that you could not access the diffchecker link so I had posted the two different output inline as messages in this thread already.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
As your facing issue related to Graphics Driver installation and not having any problem with oneAPI, we are moving this thread to relevant team to assist you.
Thanks and Regards,
Pendyala Sesha Srinivas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was contacted by email by Intel support staff:
In response to their email, where they asked specific questions, my email was returned as undeliverable due to the following reason:
"Thank you for contacting Intel Corporation. We were unable to deliver your email because the email does not appear to be related to an existing case. If you are contacting us regarding an existing issue and you already have a case, please reply to the original email you received from us, including all text. If you would like to contact us regarding a new issue, please visit our web site (http://www.intel.com/
In any case, I paste below the email I wrote in the hope that it reaches the relevant folks.
----begin paste----
Please see answers inline below.
> 1. Can you provide more details about your goal? Do you need help with drivers? Or is it for something else?
My goal is to get the following code to run in Visual Studio 2019.
// Copyright (C) 2020 Intel Corporation
// SPDX-License-Identifier: MIT
#include <sycl/sycl.hpp>
#include <array>
using namespace sycl;
constexpr int N = 42;
int main() {
std::array<int,N> my_data;
for (int i = 0; i < N; i++)
my_data[i] = 0;
{
queue q;
buffer my_buffer(my_data);
q.submit([&](handler &h) {
// create an accessor to update
// the buffer on the device
accessor my_accessor(my_buffer, h);
h.parallel_for(N, [=](id<1> i) {
my_accessor[i]++;
});
});
// create host accessor
host_accessor host_accessor(my_buffer);
for (int i = 0; i < N; i++) {
// access myBuffer on host
std::cout << host_accessor[i] << " ";
}
std::cout << "\n";
}
// myData is updated when myBuffer is
// destroyed upon exiting scope
for (int i = 0; i < N; i++) {
std::cout << my_data[i] << " ";
}
std::cout << "\n";
}
I am unable to do so because the line q.submit( ..... ) breaks with the error:
InvalidBuiltinSetName: Expects OpenCL12, OpenCL20. Actual is
OpenCL.DebugInfo.100 [Src:
D:\qb\workspace\21461\source\g
SPIRVBuiltinSetNameMap::rfind(
internal compiler error, abnormal program termination
> 2. Are you using the Intel® FPGA Emulation Platform for OpenCL™?
I am using Visual Studio 2019 and IntelOneAPI with DPCPP compiler support.
> 3. Are you using a laptop or desktop computer? What is teh model of the laptop or motherboard (if desktop)?
Laptop. The model is
Processor Intel(R) Core(TM) i5-10200H CPU @ 2.40GHz 2.40 GHz
Installed RAM 16.0 GB (15.8 GB usable)
Device ID AF3B8166-8D90-4DFD-92B8-055AEA
Product ID 00327-35930-57810-AAOEM
System type 64-bit operating system, x64-based processor
> 4. Just to confirm, are you using the Intel® Core™ i5-10200H Processor?
Yes, see above.
> 5. What is the operating system installed, as well as the version and build?
Windows 10
Edition Windows 10 Home Single Language
Version 21H2
Installed on 09-09-2021
OS build 19044.2728
Experience Windows Feature Experience Pack 120.2212.4190.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your patience. We have created a new case for you, this issue will be addressed by the concerned team in the below link.
We are closing this case for now. Please post a new question if you face any DPC++ issues in the Intel® oneAPI DPC++ Compiler forum after upgrading the Graphics drivers.
Thanks and Regards,
Pendyala Sesha Srinivas
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page