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

llvm: Invalid value #162

Open
yys123456 opened this issue Jan 26, 2022 · 0 comments
Open

llvm: Invalid value #162

yys123456 opened this issue Jan 26, 2022 · 0 comments

Comments

@yys123456
Copy link

yys123456 commented Jan 26, 2022

Hello everyone, I tried this on Ubuntu 18.04.6 LTS, RTX2060, CUDA 11.3, LLVM 13.0, I followed the instructions and use the command below:

1. Get Opt and terra, set up the project

mkdir Optlang
git clone https://github.com/niessner/Opt.git 
wget https://github.com/zdevito/terra/releases/download/release-2016-03-25/terra-Linux-x86_64-332a506.zip
unzip terra-Linux-x86_64-332a506.zip 
mv terra-Linux-x86_64-3 terra

Screenshot from 2022-01-26 16-52-46

2. Add terra/bin to PATH and ensure that the terra cuda tests can pass

Screenshot from 2022-01-26 17-05-14

3. Go to directory Opt/API and run make

Screenshot from 2022-01-26 16-50-38

4. Change sm_30 in make_template.inc to sm_60

Screenshot from 2022-01-26 16-57-58

5. Go to Opt/examples/image_warping and run make

Screenshot from 2022-01-26 16-59-13

6. run ./image_warping

Screenshot from 2022-01-26 17-00-30

And it threw llvm: Invalid value

I have changed 4 versions of llvm(6.0, 7.0, 9.0, 13.0), and kept building terra from source repeatedly... May anybody help me please?

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