Home
last modified time | relevance | path

Searched refs:t_left (Results 1 – 13 of 13) sorted by relevance

/external/eigen/unsupported/test/
Dcxx11_tensor_thread_pool.cpp69 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 …]
Dcxx11_tensor_contract_cuda.cu33 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()
Dcxx11_tensor_contraction.cpp355 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 …]
Dcxx11_tensor_of_complex.cpp72 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()
Dcxx11_tensor_cuda.cu262 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/
Dencodemb.c395 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()
Drdopt.c450 ENTROPY_CONTEXT_PLANES t_above, t_left; in vp8_rdcost_mby() local
455 memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in vp8_rdcost_mby()
458 tl = (ENTROPY_CONTEXT *)&t_left; in vp8_rdcost_mby()
595 ENTROPY_CONTEXT_PLANES t_above, t_left; in rd_pick_intra4x4mby_modes() local
601 memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in rd_pick_intra4x4mby_modes()
604 tl = (ENTROPY_CONTEXT *)&t_left; in rd_pick_intra4x4mby_modes()
688 ENTROPY_CONTEXT_PLANES t_above, t_left; in rd_cost_mbuv() local
693 memcpy(&t_left, mb->e_mbd.left_context, sizeof(ENTROPY_CONTEXT_PLANES)); in rd_cost_mbuv()
696 tl = (ENTROPY_CONTEXT *)&t_left; in rd_cost_mbuv()
962 ENTROPY_CONTEXT_PLANES t_above, t_left; in rd_check_segment() local
[all …]
/external/libvpx/libvpx/vp9/encoder/
Dvp9_rd.c533 ENTROPY_CONTEXT t_left[16]) { in vp9_get_entropy_contexts()
544 memcpy(t_left, left, sizeof(ENTROPY_CONTEXT) * num_4x4_h); in vp9_get_entropy_contexts()
550 t_left[i] = !!*(const uint16_t *)&left[i]; in vp9_get_entropy_contexts()
556 t_left[i] = !!*(const uint32_t *)&left[i]; in vp9_get_entropy_contexts()
563 t_left[i] = !!*(const uint64_t *)&left[i]; in vp9_get_entropy_contexts()
Dvp9_rd.h182 ENTROPY_CONTEXT t_left[16]);
Dvp9_rdopt.c72 ENTROPY_CONTEXT t_left[16]; member
751 combine_entropy_contexts(args->t_left[blk_row], args->t_above[blk_col]); in block_rd_txfm()
763 x, x->block_qcoeff_opt, args->t_above, args->t_left, &mi->skip, 0, 0, 0 in block_rd_txfm()
767 args->t_left, &mi->skip }; in block_rd_txfm()
852 args->t_left[blk_row] = (x->plane[plane].eobs[block] > 0) ? 1 : 0; in block_rd_txfm()
896 vp9_get_entropy_contexts(bsize, tx_size, pd, args.t_above, args.t_left); in txfm_rd_in_plane()
2023 ENTROPY_CONTEXT t_above[2], t_left[2]; in rd_pick_best_sub8x8_mode() local
2041 memcpy(t_left, pd->left_context, sizeof(t_left)); in rd_pick_best_sub8x8_mode()
2085 memcpy(bsi->rdstat[i][mode_idx].tl, t_left, in rd_pick_best_sub8x8_mode()
2287 memcpy(t_left, bsi->rdstat[i][mode_idx].tl, sizeof(t_left)); in rd_pick_best_sub8x8_mode()
/external/libaom/libaom/av1/encoder/
Drd.c970 ENTROPY_CONTEXT t_left[MAX_MIB_SIZE]) { in get_entropy_contexts_plane()
977 memcpy(t_left, left, sizeof(ENTROPY_CONTEXT) * num_4x4_h); in get_entropy_contexts_plane()
983 ENTROPY_CONTEXT t_left[MAX_MIB_SIZE]) { in av1_get_entropy_contexts()
985 get_entropy_contexts_plane(plane_bsize, pd, t_above, t_left); in av1_get_entropy_contexts()
Drd.h258 ENTROPY_CONTEXT t_left[MAX_MIB_SIZE]);
Dtx_search.c27 ENTROPY_CONTEXT t_left[MAX_MIB_SIZE]; member
2821 ENTROPY_CONTEXT *l = args->t_left + blk_row; in block_rd_txfm()
3473 av1_get_entropy_contexts(plane_bsize, pd, args.t_above, args.t_left); in av1_txfm_rd_in_plane()