aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/arch/SYCL/PacketMath.h
diff options
context:
space:
mode:
Diffstat (limited to 'Eigen/src/Core/arch/SYCL/PacketMath.h')
-rw-r--r--Eigen/src/Core/arch/SYCL/PacketMath.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/arch/SYCL/PacketMath.h b/Eigen/src/Core/arch/SYCL/PacketMath.h
index b11b5af9d..87badc076 100644
--- a/Eigen/src/Core/arch/SYCL/PacketMath.h
+++ b/Eigen/src/Core/arch/SYCL/PacketMath.h
@@ -514,11 +514,11 @@ SYCL_PCMP(eq, cl::sycl::cl_double2)
template <typename T> struct convert_to_integer;
template <> struct convert_to_integer<float> {
- using type = int;
+ using type = std::int32_t;
using packet_type = cl::sycl::cl_int4;
};
template <> struct convert_to_integer<double> {
- using type = long;
+ using type = std::int64_t;
using packet_type = cl::sycl::cl_long2;
};