Skip to content
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

DeviceLib/built-ins/ext_native_math.cpp failed in pre-commit on CUDA backend #11562

Closed
steffenlarsen opened this issue Oct 17, 2023 · 4 comments
Labels
bug Something isn't working confirmed cuda CUDA back-end

Comments

@steffenlarsen
Copy link
Contributor

DeviceLib/built-ins/ext_native_math.cpp failed in pre-commit testing for #11559 on CUDA with the following error:

# .---command stderr------------
# | fatal error: error in backend: Cannot select: t154: v4i8 = bitcast t3
# |   t3: f[32](https://github.com/intel/llvm/actions/runs/6547288870/job/17779494384#step:21:33),ch = CopyFromReg t0, Register:f32 %7
# |     t2: f32 = Register %7
# | In function: _ZTSZZ18native_tanh_testerIN4sycl3_V16marrayIfLm3EEEEvNS1_5queueET_S5_S5_ENKUlRNS1_7handlerEE_clES7_EUlvE_
# | llvm-foreach: 
# | clang++: error: clang frontend command failed with exit code 70 (use -v to see invocation)
# | clang version 18.0.0 (https://github.com/intel/llvm 78[34](https://github.com/intel/llvm/actions/runs/6547288870/job/17779494384#step:21:35)1be24f512487961f4020b02b5bee06[37](https://github.com/intel/llvm/actions/runs/6547288870/job/17779494384#step:21:38)159d)
# | Target: x86_64-unknown-linux-gnu
# | Thread model: posix
# | InstalledDir: /__w/llvm/llvm/toolchain/bin
# | clang++: note: diagnostic msg: Error generating preprocessed source(s).
# `-----------------------------

See for example https://github.com/intel/llvm/actions/runs/6547288870/job/17779494384.

@JackAKirk
Copy link
Contributor

Didn't reproduce it on A100 using cuda 11.7. CI is failing with A10 on 12.1

@JackAKirk
Copy link
Contributor

We can xfail it before investigation to stop it causing issues with CI.

@pasaulais
Copy link
Contributor

This now passes on tip sycl. Here is the reproducer:
oac-1586.ll.txt

The XFAIL has been reverted by: 49eb0e3

@npmiller
Copy link
Contributor

Closing this as the test is now enabled

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working confirmed cuda CUDA back-end
Projects
None yet
Development

No branches or pull requests

4 participants