-
Notifications
You must be signed in to change notification settings - Fork 768
SYCL-CTS test_vector_swizzles doesn't compile for NVPTX target. #6505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I see that this issue also impacts |
The test passes on the same machine with DPC++ built from bfc7e98.
|
@AerialMantis, if you won't be able to reproduce this problem with the recent DPC++, please, close the ticket. |
That's very strange as I haven't updated CUDA version, so my theory is that patches from llvm.org and spir-v translator remove uses of atomic add instructions. |
@jchlanda, are you able to build |
Huh, so
|
This will be fixed when #7220 gets merged. |
Retire the by hand mangling of substituted function in favor of constructing corresponding `FunctionDecls` and letting clang mangle it for us. This ensures that we never diverge from clang's mangling idiosyncrasies and bugfixes would likely be in the AST creation, not mangling itself. The tool has been rewritten as a `ClangTool` implementing `FrontendAction`. Additionally, we provide the option to perform a test run, in which no substitutions are made, while checking that remangled name does not diverge from the original mangled name. The tests are added to `check-libclc` target. The diffs are a bit ugly, it might be easier to inspect the file mode, basically the change lives entirely in `Remangler` class, and if you follow `Remangler::remangle` it will lead you through what it does. Fixes: #6505 Co-authored-by: Aaron Ballman <[email protected]> Co-authored-by: premanandrao <[email protected]> Co-authored-by: Steffen Larsen <[email protected]>
Describe the bug
I'm building SYCL-CTS using DPC++ with NVPTX target support and building of the
test_vector_swizzles
fails with following error:NOTE: Might be related to #5647 and #5215.
To Reproduce
Please describe the steps to reproduce the behavior:
Environment (please complete the following information):
clang version 15.0.0 (https://github.com/intel/llvm.git ab05021)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /iusers/aabader/llvm/build/bin
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/7.5.0
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Selected GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Candidate multilib: x32;@MX32
Selected multilib: .;@m64
Found CUDA installation: /usr/local/cuda, version 11.0
The text was updated successfully, but these errors were encountered: