Intel® Embree Ray Tracing Kernels
Discussion forum on the open source ray tracing kernels for fast photo-realistic rendering on Intel® CPUs.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Handle SSE?

theigors
Beginner
137 Views

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
SvenW_Intel
Moderator
137 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.

theigors
Beginner
137 Views

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

Reply