- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
@TryerGit facing an error while running the program(file.cpp) which has oneAPI 2023.0.0 installed in the system.
This issue can be reproduced by executing the following commands in the Intel oneAPI command prompt for Intel 64 for Visual Studio 2022.
icx -fsycl file.cpp
file.exe
file.cpp
#include <CL/sycl.hpp>
using namespace sycl;
const int SIZE = 10;
void show_platforms() {
auto platforms = platform::get_platforms();
for (auto &platform : platforms) {
std::cout << "Platform: "
<< platform.get_info<info::platform::name>()
<< std::endl;
auto devices = platform.get_devices();
for (auto &device : devices ) {
std::cout << " Device: "
<< device.get_info<info::device::name>()
<< std::endl;
}
}
}
void vec_add(int *a, int *b, int *c) {
range<1> a_size{SIZE};
buffer<int> a_buf(a, a_size);
buffer<int> b_buf(b, a_size);
buffer<int> c_buf(c, a_size);
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];
});
});
}
int main() {
int a[SIZE], b[SIZE], c[SIZE];
for (int i = 0; i < SIZE; ++i) {
a[i] = i;
b[i] = i;
c[i] = i;
}
vec_add(a, b, c);
show_platforms();
for (int i = 0; i < SIZE; i++) std::cout << c[i] << std::endl;
return 0;
}
This is the @TryerGit 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
This error may be resolved by upgrading Graphics version from 27.20.100.8853 to 31.0.101.2114 . According to the previous post the user confirmed that "On downloading the suggested driver and installing it, the error goes away *only as long as the machine is not turned off* " .
Could you please help @TryerGit to help to resolve this issue?
Thanks and Regards,
Pendyala Sesha Srinivas
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello @SeshaP_Intel,
We understand a ticket has been opened in regard to this with us, and we will continue to help you through that channel now. We will therefore close this community case. Thank you.
Best regards,
Carlos L.
Intel Customer Support Technician

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