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

How to update to llvm-14.0? #11

Open
Elio-yang opened this issue Aug 9, 2022 · 0 comments
Open

How to update to llvm-14.0? #11

Elio-yang opened this issue Aug 9, 2022 · 0 comments

Comments

@Elio-yang
Copy link

Hi!

Recently, I've been using cuda-flux for my cuda programs under an Ampere GPU using CUDA-11.1. The current cuda-flux developed through llvm-11.0 does not support such CUDA version. I have now modified the source code and made it pass the compilation under llvm-14.0.

But the problem is that: the cuda-flux pass doesn't work when compiling:

clang++ -Xclang -load -Xclang /opt/ori-cuda-flux/lib/libcuda_flux_pass.so -finline-functions --cuda-gpu-arch=sm_80 -std=c++11 -lcudart saxpy.cu -o saxpy

this command generate nothing but an executable. So I'm wondering is there any instruction for me on how to modify the source code to support llvm-14.0.

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

1 participant