mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
[SYCL-2020]- null placeholder accessor issue in Reduction SYCL test
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
6bcd941ee3
commit
c3f67063ed
@@ -26,8 +26,10 @@
|
||||
#ifdef SYCL_COMPILER_IS_DPCPP
|
||||
template <typename T>
|
||||
struct cl::sycl::is_device_copyable<
|
||||
const OffByOneScalar<T>,
|
||||
std::enable_if_t<!std::is_trivially_copyable<const OffByOneScalar<T>>::value>> : std::true_type {};
|
||||
OffByOneScalar<T>,
|
||||
std::enable_if_t<!(!std::is_trivially_copyable<OffByOneScalar<T>>::value &&
|
||||
(std::is_const_v<OffByOneScalar<T>> || std::is_volatile_v<OffByOneScalar<T>>))>>
|
||||
: std::true_type {};
|
||||
#endif
|
||||
|
||||
template <typename DataType, int DataLayout, typename IndexType>
|
||||
|
||||
Reference in New Issue
Block a user