mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-28 23:04:18 +08:00
[Fixing expf issue]: Eigen uses the packet type operation for scaler type float on Sigmoid function(https://gitlab.com/libeigen/eigen/-/blob/master/Eigen/src/Core/functors/UnaryFunctors.h#L990). As a result SYCL backend breaks since SYCL backend only supports packet operation for vectorized type float4 and double2. The issue has been fixed by adding scalar type float to packet operation pexp for SYCL backend.
This commit is contained in:
parent
ecb7bc9514
commit
61461d682a
@ -70,6 +70,7 @@ SYCL_PLOG10(cl::sycl::cl_double2)
|
|||||||
}
|
}
|
||||||
|
|
||||||
SYCL_PEXP(cl::sycl::cl_float4)
|
SYCL_PEXP(cl::sycl::cl_float4)
|
||||||
|
SYCL_PEXP(cl::sycl::cl_float)
|
||||||
SYCL_PEXP(cl::sycl::cl_double2)
|
SYCL_PEXP(cl::sycl::cl_double2)
|
||||||
#undef SYCL_PEXP
|
#undef SYCL_PEXP
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user