Skip to content

Commit

Permalink
Embree3 vectorization
Browse files Browse the repository at this point in the history
  • Loading branch information
howetuft committed Jan 6, 2025
1 parent 4d7b2e5 commit 19ae8c3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions conan-profiles/conan-profile-Linux-X64
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ openvdb/*:simd=AVX
tools.build:cflags+=["-ftree-vectorize", "-march=x86-64-v3", "-O3"]
tools.build:cxxflags+=["-ftree-vectorize", "-march=x86-64-v3", "-O3"]
openvdb/*:tools.cmake.cmaketoolchain:extra_variables={ 'USE_CCACHE':'OFF' }
embree3/*:avx2=True
embree3/*:avx512=True
1 change: 1 addition & 0 deletions conan-profiles/conan-profile-Windows-X64
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ embree3/*:tools.build:cxxflags=["/openmp", "/MP", "/DEBUG:NONE", "/O2"]

[options]
openvdb/*:simd=AVX
# NB: MSVC does not support avx2 nor avx512
4 changes: 1 addition & 3 deletions conan-profiles/conan-profile-common
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,11 @@ yasm/*

[options]
oidn/*:shared=True
embree3/*:with_tbb=True
embree3/*:shared=True
embree3/*:with_tbb=True
embree3/*:sse2=True
embree3/*:sse42=True
embree3/*:avx=True
embree3/*:avx2=True
embree3/*:avx512=True


# boost/*:without_atomic=True
Expand Down
3 changes: 1 addition & 2 deletions conan-profiles/conan-profile-macOS-X64
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@ compiler.libcxx=libc++
minizip-ng/*:with_zlib=True
minizip-ng/*:with_libcomp=False
openvdb/*:simd=AVX
embree3/*:avx2=False
embree3/*:avx512=False

[buildenv]
CXX=clang++
CC=clang

[conf]
&:tools.build:cxxflags+=["-ftree-vectorize", "-march=x86-64-v3", "-O3", "-mno-avx2"]
# NB: Github MacOS X64 runner does not support avx2 nor avx512

0 comments on commit 19ae8c3

Please sign in to comment.