You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Investigation shows that attempt to build a SYCL program with --fsycl-host-compiler option fails with "error: ‘KernelInfoData’ is not a class template". This behavior can be reproduced with
$ g++ --version
g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Intel(R) oneAPI DPC++/C++ Compiler 2024.2.1 icpx driver throws an error for this case indicating that -fsycl-unnamed-lambda is not supported with -fsycl-host-compiler. It would be helpful if clang++ had similar diagnostics.
Updating the sample to use named kernel allows it to build correctly.
Original issue with oneDNN build does not seem to suffer from this scenario though...
Describe the bug
This issue was initially reported in oneapi-src/oneDNN#2035
Investigation shows that attempt to build a SYCL program with --fsycl-host-compiler option fails with "error: ‘KernelInfoData’ is not a class template". This behavior can be reproduced with
To reproduce
Reproducer uses vector-add-buffers.cpp sample
Command:
Output:
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: