Searched refs:chip5 (Results 1 – 2 of 2) sorted by relevance
/external/eigen/unsupported/test/ |
D | cxx11_tensor_chipping.cpp | 85 Tensor<float, 4, DataLayout> chip5(tensor.template chip<4>(7)); in test_simple_chip() local 86 VERIFY_IS_EQUAL(chip5.dimension(0), 2); in test_simple_chip() 87 VERIFY_IS_EQUAL(chip5.dimension(1), 3); in test_simple_chip() 88 VERIFY_IS_EQUAL(chip5.dimension(2), 5); in test_simple_chip() 89 VERIFY_IS_EQUAL(chip5.dimension(3), 7); in test_simple_chip() 94 VERIFY_IS_EQUAL(chip5(i,j,k,l), tensor(i,j,k,l,7)); in test_simple_chip() 168 Tensor<float, 4, DataLayout> chip5(tensor.chip(7, 4)); in test_dynamic_chip() local 169 VERIFY_IS_EQUAL(chip5.dimension(0), 2); in test_dynamic_chip() 170 VERIFY_IS_EQUAL(chip5.dimension(1), 3); in test_dynamic_chip() 171 VERIFY_IS_EQUAL(chip5.dimension(2), 5); in test_dynamic_chip() [all …]
|
D | cxx11_tensor_chipping_sycl.cpp | 146 Tensor<DataType, 4, DataLayout,IndexType> chip5(chip5TensorRange); in test_static_chip_sycl() local 147 const size_t chip5TensorBuffSize =chip5.size()*sizeof(DataType); in test_static_chip_sycl() 152 sycl_device.memcpyDeviceToHost(chip5.data(), gpu_data_chip5, chip5TensorBuffSize); in test_static_chip_sycl() 154 VERIFY_IS_EQUAL(chip5.dimension(0), sizeDim1); in test_static_chip_sycl() 155 VERIFY_IS_EQUAL(chip5.dimension(1), sizeDim2); in test_static_chip_sycl() 156 VERIFY_IS_EQUAL(chip5.dimension(2), sizeDim3); in test_static_chip_sycl() 157 VERIFY_IS_EQUAL(chip5.dimension(3), sizeDim4); in test_static_chip_sycl() 163 VERIFY_IS_EQUAL(chip5(i,j,k,l), tensor(i,j,k,l,7l)); in test_static_chip_sycl() 295 Tensor<DataType, 4, DataLayout,IndexType> chip5(chip5TensorRange); in test_dynamic_chip_sycl() local 296 const size_t chip5TensorBuffSize =chip5.size()*sizeof(DataType); in test_dynamic_chip_sycl() [all …]
|