Open emmenlau opened 2 years ago
@emmenlau - is this request for library build with clang-cl?
@napetrov yes correct, I'd like to build the library with clang-cl from LLVM, as a frontend to Visual Studio.
@emmenlau - the way how some optimizations are enabled is based on use of compiler intrinsics and some portions of code would be accusable only in case compiler by Intel compilers. So non intel compilers likely would get lower perf comparing to version build with Intel compiler.
But overall would see if ClangCL can be added
@napetrov what you say sounds very reasonable! Would love to have ClangCl added (even with these limitations).
Describe the bug It would be great if oneDAL could be compiled with the clang-cl compiler frontend for Visual Studio. I have tried to use ClangCl but there seem to be some warnings or errors that make the build fail. Since ClangCl is very similar to clang but also to Visual Studio, it seems it is well aligned with the already supported compilers. And on Windows it generates often much faster code than Visual Studio alone.