aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported
diff options
context:
space:
mode:
authorGravatar Luke Iwanski <luke@codeplay.com>2016-12-20 21:32:42 +0000
committerGravatar Luke Iwanski <luke@codeplay.com>2016-12-20 21:32:42 +0000
commit29186f766f7e36dd8dbe933e035f6bcccc8fe70d (patch)
tree6ee2833bf481e2466aebaca4ae7efd0a60b8efd9 /unsupported
parent8245851d1b08886bb395471ba3ba8ab8a29f4c58 (diff)
Fixed order of initialisation in ExecExprFunctorKernel functor.
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorSyclRun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclRun.h b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclRun.h
index 481635fd5..11e4ddc56 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorSyclRun.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorSyclRun.h
@@ -35,7 +35,7 @@ namespace TensorSycl {
TupleType tuple_of_accessors;
Index range;
ExecExprFunctorKernel(Index range_, FunctorExpr functors_, TupleType tuple_of_accessors_)
- :range(range_), functors(functors_), tuple_of_accessors(tuple_of_accessors_){}
+ : functors(functors_), tuple_of_accessors(tuple_of_accessors_), range(range_){}
void operator()(cl::sycl::nd_item<1> itemID) {
typedef typename internal::ConvertToDeviceExpression<Expr>::Type DevExpr;
auto device_expr =internal::createDeviceExpression<DevExpr, PlaceHolderExpr>(functors, tuple_of_accessors);