[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:
mehdi-goli 2020-10-27 16:22:26 +00:00 committed by David Tellenbach
parent ecb7bc9514
commit 61461d682a

View File

@ -70,6 +70,7 @@ SYCL_PLOG10(cl::sycl::cl_double2)
}
SYCL_PEXP(cl::sycl::cl_float4)
SYCL_PEXP(cl::sycl::cl_float)
SYCL_PEXP(cl::sycl::cl_double2)
#undef SYCL_PEXP