Skip to content

Commit c3bb14f

Browse files
committed
Add more integer type to matrix
1 parent 467e44b commit c3bb14f

File tree

1 file changed

+14
-0
lines changed
  • dpnp/backend/extensions/ufunc/elementwise_functions

1 file changed

+14
-0
lines changed

dpnp/backend/extensions/ufunc/elementwise_functions/ldexp.cpp

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,16 @@ struct OutputType
6060
{
6161
using value_type = typename std::disjunction< // disjunction is C++17
6262
// feature, supported by DPC++
63+
td_ns::BinaryTypeMapResultEntry<T1,
64+
sycl::half,
65+
T2,
66+
std::int8_t,
67+
sycl::half>,
68+
td_ns::BinaryTypeMapResultEntry<T1,
69+
sycl::half,
70+
T2,
71+
std::int16_t,
72+
sycl::half>,
6373
td_ns::BinaryTypeMapResultEntry<T1,
6474
sycl::half,
6575
T2,
@@ -70,8 +80,12 @@ struct OutputType
7080
T2,
7181
std::int64_t,
7282
sycl::half>,
83+
td_ns::BinaryTypeMapResultEntry<T1, float, T2, std::int8_t, float>,
84+
td_ns::BinaryTypeMapResultEntry<T1, float, T2, std::int16_t, float>,
7385
td_ns::BinaryTypeMapResultEntry<T1, float, T2, std::int32_t, float>,
7486
td_ns::BinaryTypeMapResultEntry<T1, float, T2, std::int64_t, float>,
87+
td_ns::BinaryTypeMapResultEntry<T1, double, T2, std::int8_t, double>,
88+
td_ns::BinaryTypeMapResultEntry<T1, double, T2, std::int16_t, double>,
7589
td_ns::BinaryTypeMapResultEntry<T1, double, T2, std::int32_t, double>,
7690
td_ns::BinaryTypeMapResultEntry<T1, double, T2, std::int64_t, double>,
7791
td_ns::DefaultResultEntry<void>>::result_type;

0 commit comments

Comments
 (0)