support for compiling with clang -x cuda? #2619
              
                Unanswered
              
          
                  
                    
                      BenWibking
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    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.
-
Is compiling AMReX's CUDA device code with
clang -x cudasupported (e.g. https://llvm.org/docs/CompileCudaWithLLVM.html)?When I try to do so with LLVM 13 + CUDA 11.4, CMake correctly detects clang as a CUDA compiler:
But I get this compiler error:
Beta Was this translation helpful? Give feedback.
All reactions