Skip to content

bump embree version; bump sse2 to avx2#1648

Merged
jdumas merged 4 commits intomasterfrom
update-embree
Nov 29, 2020
Merged

bump embree version; bump sse2 to avx2#1648
jdumas merged 4 commits intomasterfrom
update-embree

Conversation

@alecjacobson
Copy link
Copy Markdown
Contributor

Fixes #1632 by updating embree to newest release.

This also bumps the default simd support for embree from SSE2 to AVX2. Embree's cmake will find all that are compatible but then complains that in static mode we can only select one. I'm guessing most folks using this will have avx2 support (let's see).

Check all that apply (change to [x])

  • All changes meet libigl style-guidelines.
  • Adds new .cpp file.
  • Adds corresponding unit test.
  • This is a minor change.

@jdumas
Copy link
Copy Markdown
Collaborator

jdumas commented Nov 15, 2020

@alecjacobson I've rebased onto master so the Windows part should build again. Unit tests are now failing on Linux though, something about the ids in the tree not matching after the update.

I want to try also to set EMBREE_MAX_ISA to DEFAULT. This should pick and enable only one ISA level supported by the compiler, which I think should work on macOS.

@BruegelN
Copy link
Copy Markdown
Contributor

Hi @jdumas
just want to let you know that it works on my old macOS machine (MB Pro from late 2014).
Bildschirmfoto 2020-11-22 um 13 17 21
Let me know if additional testing is useful!

@jdumas
Copy link
Copy Markdown
Collaborator

jdumas commented Nov 22, 2020

Unfortunately we can't merge until we fix the unit tests, and I haven't had time to dig into why they fail yet...

@alecjacobson
Copy link
Copy Markdown
Contributor Author

alecjacobson commented Nov 29, 2020

All of the unit tests were degenerate examples of rays hitting edges of the cube mesh. So the embree upgrade picked the other face this time and some of them failed. I've pushed a change to make these tests non-degenerate.

@jdumas jdumas merged commit 59b517a into master Nov 29, 2020
@jdumas jdumas deleted the update-embree branch November 29, 2020 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

libigl build fails (embree)

3 participants