aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen
diff options
context:
space:
mode:
authorGravatar Mehdi Goli <mehdi.goli@codeplay.com>2017-05-25 11:17:26 +0100
committerGravatar Mehdi Goli <mehdi.goli@codeplay.com>2017-05-25 11:17:26 +0100
commite3f964ed55a96d0c94814d07ab88d8805e0c2eec (patch)
tree7c245cdd4fd5ba1b73e7b13d7491e12ce80afd7d /unsupported/Eigen
parent76c0fc1f955eda3d243db8960cb6fee9a5305112 (diff)
Applying Benoit's comment;removing dead code.
Diffstat (limited to 'unsupported/Eigen')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorDeviceSycl.h1
1 files changed, 0 insertions, 1 deletions
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<Scalar*>(Conditional_Allocate<CheckAlignStatically<Align>::Val, Align>::conditional_allocate(elements));
- // return static_cast<Scalar*>(aligned_alloc(Align, elements));
}
void deallocate(Scalar * p, std::size_t size) { EIGEN_UNUSED_VARIABLE(size); free(p); }
};