diff options
author | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-01-19 11:30:59 +0000 |
---|---|---|
committer | Mehdi Goli <mehdi.goli@codeplay.com> | 2017-01-19 11:30:59 +0000 |
commit | 6bdd15f572c0b8cd21f5acba3671d536f50a9b53 (patch) | |
tree | 8343c43748cfbdefdac6e7b4e52aec7196669589 /unsupported/test/cxx11_tensor_sycl.cpp | |
parent | e46e7223817cfd982edec6d8e25c77e8e2493d78 (diff) |
Adding non-deferrenciable pointer track for ComputeCpp backend; Adding TensorConvolutionOp for ComputeCpp; fixing typos. modifying TensorDeviceSycl to use the LegacyPointer class.
Diffstat (limited to 'unsupported/test/cxx11_tensor_sycl.cpp')
-rw-r--r-- | unsupported/test/cxx11_tensor_sycl.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/unsupported/test/cxx11_tensor_sycl.cpp b/unsupported/test/cxx11_tensor_sycl.cpp index 5992a306d..6f7e29890 100644 --- a/unsupported/test/cxx11_tensor_sycl.cpp +++ b/unsupported/test/cxx11_tensor_sycl.cpp @@ -242,9 +242,6 @@ static void test_sycl_cast(const Eigen::SyclDevice& sycl_device){ Scalar1* gpu_in_data = static_cast<Scalar1*>(sycl_device.allocate(in.size()*sizeof(Scalar1))); Scalar2 * gpu_out_data = static_cast<Scalar2*>(sycl_device.allocate(out.size()*sizeof(Scalar2))); - - - TensorMap<Tensor<Scalar1, 1, DataLayout>> gpu_in(gpu_in_data, tensorRange); TensorMap<Tensor<Scalar2, 1, DataLayout>> gpu_out(gpu_out_data, tensorRange); sycl_device.memcpyHostToDevice(gpu_in_data, in.data(),(in.size())*sizeof(Scalar1)); |