[SYCL] Specialness of SYCL vec types and performance of Eigen in device code #7870
Replies: 1 comment
-
As SYCL spec says,
I suppose that for Eigen (or any other project) there is always a choice: either have custom efficient implementations for all target HW or use a standard functionality and rely on SYCL implementation to make the most out of it. Also tagging @rolandschulz here.
It is hard to say for me, but it could be the case depending on how |
Beta Was this translation helpful? Give feedback.
-
I am currently investigating using the Eigen library in the device code (not Eigen with SYCL backend) as my usecase involves a lot of small vector, matrix, quaternion, etc computations in parallel. I have found that I can get Eigen to run in device code using
What I was wondering was if there's anything "special" to sycl vec types when it comes to performance. Are they simply types that integrate well and are specified with the rest of SYCL, or do they have special behaviour or heuristics programmed in the compiler for optimiser. Will replacing the use of sycl::float4 with Eigen::Vector4f result in significant performance differences?
Beta Was this translation helpful? Give feedback.
All reactions