You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MSVC doesn't have a flag for SSE42, but if you call the sse42 intrinsics like openvdb does the right opcodes will still be generated, AVX can be enabled with /arch:AVXsource
The text was updated successfully, but these errors were encountered:
Hey @LazyDodo thanks for reporting this, this has now been fixed #1645 (though as an aside, the way we handle hardware instrumentation in general isn't correct and we're planning of restructuring this in the future)
Environment
Operating System: Win10
Version / Commit SHA: VDB 10.0
CMake Version: 3.24.2
Compiler: msvc 2019
Describe the problem
When setting
-DOPENVDB_SIMD=SSE42
OpenVDB's cmake passes the GCC style flags directly to MSVC over in CMakeLists.txt@386To Reproduce
Steps to reproduce the behavior:
-DOPENVDB_SIMD=SSE42
or-DOPENVDB_SIMD=AVX
with MSVCcl : Command line warning D9002: ignoring unknown option '-msse4.2' [c:\db\build\S\VS1564D\openvdb.vcxproj]
Additional context
MSVC doesn't have a flag for SSE42, but if you call the sse42 intrinsics like openvdb does the right opcodes will still be generated, AVX can be enabled with
/arch:AVX
sourceThe text was updated successfully, but these errors were encountered: