Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
17 Views

Handle SSE?

Hi All

I realize my question sounds naive, maybe it's well-known issue - but not for me ;-)

How should I handle SSE? We want to include Embree code into our app for different users, no way to know concrete kind of supported SSE on user's machine before app runs. Should we build a series of libs (one per each SSE kind) and use one in runtime? Or there are better/simple ways?

Thanks

0 Kudos
2 Replies
Highlighted
Moderator
17 Views

Embree does not support to dynamically select code paths optimized for the ISA of the machine it is running on. You can only select the ISA Embree is optimized for at compile time. Compiling Embree into different shared libraries per SSE type is currently the simplest approach to achieve your goal.

0 Kudos
Highlighted
Beginner
17 Views

Thx Sven. I guess so but never did it before, thus it's better to ak

0 Kudos