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

New NVIDIA OpenCL error #32

Closed
PlasmaPower opened this issue Jan 14, 2019 · 6 comments
Closed

New NVIDIA OpenCL error #32

PlasmaPower opened this issue Jan 14, 2019 · 6 comments

Comments

@PlasmaPower
Copy link
Owner

I'm getting this when trying to compile any commit (I also tried 30eedd0) on my current system. I have opencl-nvidia 415.25-1 from the Arch Linux repositories.

Instruction does not dominate all uses!
  %getElem5841.16 = getelementptr [64 x i8] addrspace(5)* %125, i64 0, i64 16
  %1926 = bitcast i8 addrspace(5)* %getElem5841.16 to <4 x i32> addrspace(5)*
Broken module found, compilation terminated!

cc @webmaster128

@webmaster128
Copy link
Contributor

No idea, sorry. Never came across that. Which NVIDIA driver works on which system is aktually a mystery to me. On GPUEater you cannot apt upgrade without breaking the driver and on a different Linux NVIDIA GPU server I also had trouble with some of the available drivers.

@PlasmaPower
Copy link
Owner Author

I've seen similar errors in the past with broken code, so I think this is probably a case of hidden undefined behavior.

@webmaster128
Copy link
Contributor

I found this which explains nicely what "Instruction does not dominate all uses!" means. However, it is probably hard to map those instructions in the error to .cl source code.

@PlasmaPower
Copy link
Owner Author

I guess I'll wait a while and see if newer drivers fix the problem, because it shouldn't give me an LLVM error, but I've seen LLVM errors before from broken OpenCL.

@webmaster128
Copy link
Contributor

Duplicate of #18

@PlasmaPower
Copy link
Owner Author

Good catch, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants