/external/eigen/unsupported/test/ |
D | cxx11_tensor_layout_swap_sycl.cpp | 42 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(tensor2.size()*sizeof(DataType)… in test_simple_swap_sycl() local 44 TensorMap<Tensor<DataType, 3, RowMajor, IndexType>> gpu2(gpu_data2, tensorRowRange); in test_simple_swap_sycl() 48 sycl_device.memcpyDeviceToHost(tensor2.data(), gpu_data2,(tensor2.size())*sizeof(DataType)); in test_simple_swap_sycl() 67 sycl_device.deallocate(gpu_data2); in test_simple_swap_sycl() 85 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(tensor2.size()*sizeof(DataType)… in test_swap_as_lvalue_sycl() local 87 TensorMap<Tensor<DataType, 3, RowMajor, IndexType>> gpu2(gpu_data2, tensorRowRange); in test_swap_as_lvalue_sycl() 91 sycl_device.memcpyDeviceToHost(tensor2.data(), gpu_data2,(tensor2.size())*sizeof(DataType)); in test_swap_as_lvalue_sycl() 111 sycl_device.deallocate(gpu_data2); in test_swap_as_lvalue_sycl()
|
D | cxx11_tensor_padding_sycl.cpp | 61 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(padded.size()*sizeof(DataType))… in test_simple_padding() local 63 TensorMap<Tensor<DataType, 4,DataLayout,IndexType>> gpu2(gpu_data2, padedtensorRange); in test_simple_padding() 71 sycl_device.memcpyDeviceToHost(padded.data(), gpu_data2,(padded.size())*sizeof(DataType)); in test_simple_padding() 86 sycl_device.deallocate(gpu_data2); in test_simple_padding() 115 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(result.size()*sizeof(DataType))… in test_padded_expr() local 117 TensorMap<Tensor<DataType, 2,DataLayout,IndexType>> gpu2(gpu_data2, reshape_dims); in test_padded_expr() 122 sycl_device.memcpyDeviceToHost(result.data(), gpu_data2,(result.size())*sizeof(DataType)); in test_padded_expr() 140 sycl_device.deallocate(gpu_data2); in test_padded_expr()
|
D | cxx11_tensor_morphing_sycl.cpp | 47 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(tensor2.size()*sizeof(DataType)… in test_simple_reshape() local 52 TensorMap<Tensor<DataType, 3,DataLayout, IndexType>> gpu2(gpu_data2, dim2); in test_simple_reshape() 59 sycl_device.memcpyDeviceToHost(tensor2.data(), gpu_data2,(tensor1.size())*sizeof(DataType)); in test_simple_reshape() 83 sycl_device.deallocate(gpu_data2); in test_simple_reshape() 102 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(tensor2d.size()*sizeof(DataType… in test_reshape_as_lvalue() local 106 TensorMap< Tensor<DataType, 2, DataLayout, IndexType> > gpu2(gpu_data2, dim2); in test_reshape_as_lvalue() 112 sycl_device.memcpyDeviceToHost(tensor2d.data(), gpu_data2,(tensor2d.size())*sizeof(DataType)); in test_reshape_as_lvalue() 132 sycl_device.deallocate(gpu_data2); in test_reshape_as_lvalue() 152 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(slice1.size()*sizeof(DataType))… in test_simple_slice() local 154 TensorMap<Tensor<DataType, 5,DataLayout, IndexType>> gpu2(gpu_data2, slice1_range); in test_simple_slice() [all …]
|
D | cxx11_tensor_math_sycl.cpp | 45 DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(out.size()*sizeof(DataType))); in test_tanh_sycl() local 48 TensorMap<Tensor<DataType, 3, DataLayout, IndexType>> gpu2(gpu_data2, tensorRange); in test_tanh_sycl() 52 sycl_device.memcpyDeviceToHost(out.data(), gpu_data2,(out.size())*sizeof(DataType)); in test_tanh_sycl() 75 DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(out.size()*sizeof(DataType))); in test_sigmoid_sycl() local 78 TensorMap<Tensor<DataType, 3, DataLayout, IndexType>> gpu2(gpu_data2, tensorRange); in test_sigmoid_sycl() 82 sycl_device.memcpyDeviceToHost(out.data(), gpu_data2,(out.size())*sizeof(DataType)); in test_sigmoid_sycl()
|
D | cxx11_tensor_image_op_sycl.cpp | 62 …DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(tensor2.size()*sizeof(DataType)… in test_image_op_sycl() local 66 TensorMap<Tensor<DataType, 3, DataLayout, IndexType>> gpu2(gpu_data2, input_range); in test_image_op_sycl() 70 sycl_device.memcpyHostToDevice(gpu_data2, tensor2.data(),(tensor2.size())*sizeof(DataType)); in test_image_op_sycl() 85 sycl_device.deallocate(gpu_data2); in test_image_op_sycl()
|
D | cxx11_tensor_shuffling_sycl.cpp | 47 DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(buffSize)); in test_simple_shuffling_sycl() local 51 TensorMap<Tensor<DataType, 4, DataLayout, IndexType>> gpu2(gpu_data2, in test_simple_shuffling_sycl() 57 sycl_device.memcpyDeviceToHost(no_shuffle.data(), gpu_data2, buffSize); in test_simple_shuffling_sycl()
|
D | cxx11_tensor_sycl.cpp | 44 DataType* gpu_data2 = static_cast<DataType*>(sycl_device.allocate(out1.size()*sizeof(DataType))); in test_sycl_mem_transfers() local 47 TensorMap<Tensor<DataType, 3, DataLayout, IndexType>> gpu2(gpu_data2, tensorRange); in test_sycl_mem_transfers() 50 sycl_device.memcpyHostToDevice(gpu_data2, in1.data(),(in1.size())*sizeof(DataType)); in test_sycl_mem_transfers() 55 sycl_device.memcpyDeviceToHost(out3.data(), gpu_data2,(out3.size())*sizeof(DataType)); in test_sycl_mem_transfers() 66 sycl_device.deallocate(gpu_data2); in test_sycl_mem_transfers()
|