mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-05-03 01:04:23 +08:00
Fixed the formatting of the code
This commit is contained in:
parent
b88c1117d4
commit
dcc14bee64
@ -762,13 +762,13 @@ struct TensorEvaluator<const TensorReductionOp<Op, Dims, ArgType, MakePointer_>,
|
|||||||
// For full reductions
|
// For full reductions
|
||||||
#if defined(EIGEN_USE_GPU) && defined(__CUDACC__)
|
#if defined(EIGEN_USE_GPU) && defined(__CUDACC__)
|
||||||
static const bool RunningOnGPU = internal::is_same<Device, Eigen::GpuDevice>::value;
|
static const bool RunningOnGPU = internal::is_same<Device, Eigen::GpuDevice>::value;
|
||||||
static const bool RunningOnSycl=false;
|
static const bool RunningOnSycl = false;
|
||||||
#elif defined(EIGEN_USE_SYCL)
|
#elif defined(EIGEN_USE_SYCL)
|
||||||
static const bool RunningOnSycl = internal::is_same<typename internal::remove_all<Device>::type, Eigen::SyclDevice>::value;
|
static const bool RunningOnSycl = internal::is_same<typename internal::remove_all<Device>::type, Eigen::SyclDevice>::value;
|
||||||
static const bool RunningOnGPU = false;
|
static const bool RunningOnGPU = false;
|
||||||
#else
|
#else
|
||||||
static const bool RunningOnGPU = false;
|
static const bool RunningOnGPU = false;
|
||||||
static const bool RunningOnSycl=false;
|
static const bool RunningOnSycl = false;
|
||||||
#endif
|
#endif
|
||||||
typename MakePointer_<CoeffReturnType>::Type m_result;
|
typename MakePointer_<CoeffReturnType>::Type m_result;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user