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

Is ptx backend support in LLVM preset? #981

Closed
oneengineer opened this issue Dec 8, 2020 · 2 comments
Closed

Is ptx backend support in LLVM preset? #981

oneengineer opened this issue Dec 8, 2020 · 2 comments

Comments

@oneengineer
Copy link

I am using llvm-platform 10.0.0-1.5.3

I got error when calling
LLVMGetTargetFromTriple
return error code: 1
error string: No available targets are compatible with triple "nvptx64-nvidia-cuda"

I wonder whether it is supported in LLVM presets(maybe when you compile the LLVM with some flags on) or not.

Myself compiled LLVM's tool llc can compile "nvptx64-nvidia-cuda" triple target code.

For the detail check: https://llvm.org/docs/NVPTXUsage.html

@junlarsen
Copy link
Member

junlarsen commented Dec 8, 2020

This was an issue which was resolved in #937 which means you should be on version 10.0.1-1.5.4 or higher for that patch to work.

@saudet
Copy link
Member

saudet commented Dec 9, 2020

Duplicate of #932

@saudet saudet marked this as a duplicate of #932 Dec 9, 2020
@saudet saudet closed this as completed Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants