From e3f964ed55a96d0c94814d07ab88d8805e0c2eec Mon Sep 17 00:00:00 2001 From: Mehdi Goli Date: Thu, 25 May 2017 11:17:26 +0100 Subject: Applying Benoit's comment;removing dead code. --- unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h | 1 - 1 file changed, 1 deletion(-) diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h index 627c0ab19..27c10a0cf 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h @@ -40,7 +40,6 @@ struct SyclAllocator { SyclAllocator( ){}; Scalar* allocate(std::size_t elements) { return static_cast(Conditional_Allocate::Val, Align>::conditional_allocate(elements)); - // return static_cast(aligned_alloc(Align, elements)); } void deallocate(Scalar * p, std::size_t size) { EIGEN_UNUSED_VARIABLE(size); free(p); } }; -- cgit v1.2.3