U
uma21
Guest
How to enable SVML support for the program compiled using clang-cl?
I am using clang-cl to compile the source code which involves "sinf" and "cosf" operation. I need to use SVML for this operation.
I have added the flags as mentioned below for compilation but it doesn't use SVML functions. I have also linked svml_dsip.lib during compilation.
'clang-cl /clang:-fveclib=SVML /clang:-fvectorize /clang:-mfpmath=sse /clang:-msse2 /clang:-fno-math-errno'
I am using VS2017 for this.
Can anyone tell me how to use SVML in clang-cl?
Note the same code when I compiled using MSVC (vs2019) the sinf and cosf function linked to svml_sse4_ssinf4.asm file? Is there any way to do this w.r.t clang-cl
Continue reading...
I am using clang-cl to compile the source code which involves "sinf" and "cosf" operation. I need to use SVML for this operation.
I have added the flags as mentioned below for compilation but it doesn't use SVML functions. I have also linked svml_dsip.lib during compilation.
'clang-cl /clang:-fveclib=SVML /clang:-fvectorize /clang:-mfpmath=sse /clang:-msse2 /clang:-fno-math-errno'
I am using VS2017 for this.
Can anyone tell me how to use SVML in clang-cl?
Note the same code when I compiled using MSVC (vs2019) the sinf and cosf function linked to svml_sse4_ssinf4.asm file? Is there any way to do this w.r.t clang-cl
Continue reading...