Replies: 1 comment
-
| @harishch4, if you can use clang++ as you host compiler, it's easier use regular mode (i.e. don't use  If you wish to use an alternative host compiler, you should know that certain features won't work, and this configuration is not tested. You haven't provided the code you tried to compile, but I suspect it uses "unnamed" kernels, which requires host compiler to support non-standard intrinsic. You can try using named kernels to fix this problem. | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So as mentioned in the title, I'm trying compile SYCL host code to ARM, my intial thought is to pass --target flag to -fsycl-host-compiler-options. However, I'm facing below error while compiling a sycl code (cuda code converted to SYCL via SYCLomatic).
$ clang++ -fsycl -fsycl-host-compiler="clang++" -fsycl-host-compiler-options="--target=aarch64-none-eabi" vector_add.dp.cppHowever, if I run the same command without -fsycl-host-compiler and -fsycl-host-compiler-options, it works but for x86_64.
Beta Was this translation helpful? Give feedback.
All reactions