[llvm-dev] use clang++ to build lulesh 2.0 failed
Hui Zhang via llvm-dev
llvm-dev at lists.llvm.org
Tue Feb 20 13:23:39 PST 2018
I'm trying to use clang++ instead of nvcc to build lulesh 2.0 cuda version.
And it fails in the compilation with errors like the one below:
error: expected member name or ';' after declaration specifiers
It looks like clang++ is complaining about the thrust library comes with
cuda, while nvcc works fine for this case. So does it mean clang++ does not
support compiling this benchmark (even though it's cuda 7.5)? Or how should
I tackle these errors?
Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev