acts-project / algebra-plugins

Mozilla Public License 2.0
3 stars 10 forks source link

Eigen SYCL Tests, main branch (2023.02.03.) #90

Closed krasznaa closed 1 year ago

krasznaa commented 1 year ago

Introduced SYCL tests for the algebra::eigen_cmath and algebra::eigen_eigen frontends.

After a wild goose chase with Eigen in https://github.com/intel/llvm/issues/8065, I now added these tests with SYCL finally. So that if Eigen does start to cause problems, we could catch it.

Note that this test was left out "back in the day" because I didn't know yet that one needed to use EIGEN_NO_CUDA, EIGEN_NO_HIP and also EIGEN_DONT_VECTORIZE to prevent Eigen from doing stuff inside of SYCL kernels that it shouldn't. I learned all of this while working with the traccc code...