/external/eigen/unsupported/test/ |
D | cxx11_tensor_thread_pool.cpp | 69 Tensor<float, 4, DataLayout> t_left(30, 50, 37, 31); in test_multithread_contraction() local 73 t_left.setRandom(); in test_multithread_contraction() 81 MapXf m_left(t_left.data(), 1500, 1147); in test_multithread_contraction() 89 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_multithread_contraction() 109 Tensor<float, 2, DataLayout> t_left(32, 500); in test_contraction_corner_cases() local 113 t_left = (t_left.constant(-0.5f) + t_left.random()) * 2.0f; in test_contraction_corner_cases() 122 MapXf m_left(t_left.data(), 32, 500); in test_contraction_corner_cases() 130 t_result.device(thread_pool_device) = t_left.contract(t_right, dims); in test_contraction_corner_cases() 141 t_left.resize(32, 1); in test_contraction_corner_cases() 142 t_left = (t_left.constant(-0.5f) + t_left.random()) * 2.0f; in test_contraction_corner_cases() [all …]
|
D | cxx11_tensor_contract_cuda.cu | 33 Tensor<float, 2, DataLayout> t_left(m_size, k_size); in test_cuda_contraction() local 39 t_left.setRandom(); in test_cuda_contraction() 42 std::size_t t_left_bytes = t_left.size() * sizeof(float); in test_cuda_contraction() 54 cudaMemcpy(d_t_left, t_left.data(), t_left_bytes, cudaMemcpyHostToDevice); in test_cuda_contraction() 69 t_result = t_left.contract(t_right, dims); in test_cuda_contraction() 97 Tensor<float, 2, DataLayout> t_left(m_size, k_size); in test_scalar() local 103 t_left.setRandom(); in test_scalar() 106 std::size_t t_left_bytes = t_left.size() * sizeof(float); in test_scalar() 118 cudaMemcpy(d_t_left, t_left.data(), t_left_bytes, cudaMemcpyHostToDevice); in test_scalar() 132 t_result = t_left.contract(t_right, dims); in test_scalar()
|
D | cxx11_tensor_contraction.cpp | 355 Tensor<float, 4, DataLayout> t_left(30, 50, 8, 31); in test_large_contraction() local 359 t_left.setRandom(); in test_large_contraction() 363 t_left += t_left.constant(1.0f); in test_large_contraction() 367 MapXf m_left(t_left.data(), 1500, 248); in test_large_contraction() 375 t_result = t_left.contract(t_right, dims); in test_large_contraction() 387 Tensor<float, 2, DataLayout> t_left(30, 50); in test_matrix_vector() local 391 t_left.setRandom(); in test_matrix_vector() 395 MapXf m_left(t_left.data(), 30, 50); in test_matrix_vector() 403 t_result = t_left.contract(t_right, dims); in test_matrix_vector() 415 Tensor<float, 3, DataLayout> t_left(7, 13, 17); in test_tensor_vector() local [all …]
|
D | cxx11_tensor_of_complex.cpp | 72 Tensor<std::complex<float>, 4> t_left(30, 50, 8, 31); in test_contractions() local 76 t_left.setRandom(); in test_contractions() 80 MapXcf m_left(t_left.data(), 1500, 248); in test_contractions() 89 t_result = t_left.contract(t_right, dims); in test_contractions()
|
D | cxx11_tensor_cuda.cu | 262 Tensor<float, 4, DataLayout> t_left(6, 50, 3, 31); in test_cuda_contraction() local 266 t_left.setRandom(); in test_cuda_contraction() 269 std::size_t t_left_bytes = t_left.size() * sizeof(float); in test_cuda_contraction() 281 cudaMemcpy(d_t_left, t_left.data(), t_left_bytes, cudaMemcpyHostToDevice); in test_cuda_contraction() 292 MapXf m_left(t_left.data(), 300, 93); in test_cuda_contraction()
|
/external/libvpx/libvpx/vp8/encoder/ |
D | encodemb.c | 395 ENTROPY_CONTEXT_PLANES t_above, t_left; in optimize_mb() local 400 memcpy(&t_left, x->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in optimize_mb() 403 tl = (ENTROPY_CONTEXT *)&t_left; in optimize_mb() 432 ENTROPY_CONTEXT_PLANES t_above, t_left; in vp8_optimize_mby() local 441 memcpy(&t_left, x->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_optimize_mby() 444 tl = (ENTROPY_CONTEXT *)&t_left; in vp8_optimize_mby() 465 ENTROPY_CONTEXT_PLANES t_above, t_left; in vp8_optimize_mbuv() local 474 memcpy(&t_left, x->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_optimize_mbuv() 477 tl = (ENTROPY_CONTEXT *)&t_left; in vp8_optimize_mbuv()
|
D | rdopt.c | 448 ENTROPY_CONTEXT_PLANES t_above, t_left; in vp8_rdcost_mby() local 453 memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby() 456 tl = (ENTROPY_CONTEXT *)&t_left; in vp8_rdcost_mby() 593 ENTROPY_CONTEXT_PLANES t_above, t_left; in rd_pick_intra4x4mby_modes() local 599 memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in rd_pick_intra4x4mby_modes() 602 tl = (ENTROPY_CONTEXT *)&t_left; in rd_pick_intra4x4mby_modes() 686 ENTROPY_CONTEXT_PLANES t_above, t_left; in rd_cost_mbuv() local 691 memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in rd_cost_mbuv() 694 tl = (ENTROPY_CONTEXT *)&t_left; in rd_cost_mbuv() 961 ENTROPY_CONTEXT_PLANES t_above, t_left; in rd_check_segment() local [all …]
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_rd.c | 449 ENTROPY_CONTEXT t_left[16]) { in vp9_get_entropy_contexts() 460 memcpy(t_left, left, sizeof(ENTROPY_CONTEXT) * num_4x4_h); in vp9_get_entropy_contexts() 466 t_left[i] = !!*(const uint16_t *)&left[i]; in vp9_get_entropy_contexts() 472 t_left[i] = !!*(const uint32_t *)&left[i]; in vp9_get_entropy_contexts() 478 t_left[i] = !!*(const uint64_t *)&left[i]; in vp9_get_entropy_contexts()
|
D | vp9_rd.h | 166 ENTROPY_CONTEXT t_left[16]);
|
D | vp9_rdopt.c | 68 ENTROPY_CONTEXT t_left[16]; member 668 combine_entropy_contexts(args->t_left[blk_row], args->t_above[blk_col]); in block_rd_txfm() 674 args->t_left, &mi->skip }; in block_rd_txfm() 755 args->t_left[blk_row] = (x->plane[plane].eobs[block] > 0) ? 1 : 0; in block_rd_txfm() 796 vp9_get_entropy_contexts(bsize, tx_size, pd, args.t_above, args.t_left); in txfm_rd_in_plane() 1886 ENTROPY_CONTEXT t_above[2], t_left[2]; in rd_pick_best_sub8x8_mode() local 1904 memcpy(t_left, pd->left_context, sizeof(t_left)); in rd_pick_best_sub8x8_mode() 1948 memcpy(bsi->rdstat[i][mode_idx].tl, t_left, in rd_pick_best_sub8x8_mode() 2147 memcpy(t_left, bsi->rdstat[i][mode_idx].tl, sizeof(t_left)); in rd_pick_best_sub8x8_mode()
|