Illegal instruction on execution

93 Views Asked by At

I'm trying to install hipSYCL on Nvidia GPU, hipSYCL is installed but it is giving illegal instruction error when try to run the syclcc compiler.

I tried running syclcc command on CPU and here is its output:

$ syclcc --version --opensycl-targets="cuda:sm_80"
clang version 16.0.0
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/bhoomikahn/llvm-project-llvmorg-16.0.0/build/bin

But when I try it on GPU:

$ syclcc --version --opensycl-targets="cuda:sm_80"
Illegal instruction (core dumped) 

I have no idea what's happening, any suggestions would be appreciated
thank you.

0

There are 0 best solutions below