/external/ComputeLibrary/src/core/CL/cl_kernels/ |
D | helpers_asymm.h | 179 …x2 = ASYMM_MULT(x, x, size); … 181 …x3 = ASYMM_MULT(x2, x, size); … 183 …x4 = ASYMM_MULT(x2, x2, size); … 187 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 190 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 245 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 361 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 365 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 369 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 396 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) macro [all …]
|
/external/ComputeLibrary/src/core/CL/cl_kernels/common/ |
D | qlstm_layer_normalization.cl | 124 int x3 = ASYMM_RESCALE(ASYMM_MULT(ASYMM_MULT(x, x, 1), x, 1), 9, fixedpoint_position, 1); 125 …x = ASYMM_RESCALE(ASYMM_MULT(fixedpoint_half_three, x, 1) - ASYMM_MULT(fixedpoint_half_input,… 128 x = ASYMM_MULT(fixedpoint_half_sqrt_2, x, 1);
|
D | softmax_layer_quantized.cl | 121 return ASYMM_MULT(data * (1 << INPUT_BETA_LEFT_SHIFT), INPUT_BETA_MULTIPLIER, VECTOR_SIZE);
|
/external/ComputeLibrary/cl_kernels/common/ |
D | qlstm_layer_normalization.clembed | 1346 …x2 = ASYMM_MULT(x, x, size); … 1348 …x3 = ASYMM_MULT(x2, x, size); … 1350 …x4 = ASYMM_MULT(x2, x2, size); … 1354 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 1357 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 1393 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 1486 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 1490 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 1494 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 1516 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
D | bounding_box_transform_quantized.clembed | 1346 …x2 = ASYMM_MULT(x, x, size); … 1348 …x3 = ASYMM_MULT(x2, x, size); … 1350 …x4 = ASYMM_MULT(x2, x2, size); … 1354 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 1357 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 1393 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 1486 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 1490 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 1494 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 1516 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
D | roi_align_layer_quantized.clembed | 1346 …x2 = ASYMM_MULT(x, x, size); … 1348 …x3 = ASYMM_MULT(x2, x, size); … 1350 …x4 = ASYMM_MULT(x2, x2, size); … 1354 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 1357 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 1393 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 1486 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 1490 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 1494 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 1516 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
D | generate_proposals_quantized.clembed | 1346 …x2 = ASYMM_MULT(x, x, size); … 1348 …x3 = ASYMM_MULT(x2, x, size); … 1350 …x4 = ASYMM_MULT(x2, x2, size); … 1354 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 1357 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 1393 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 1486 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 1490 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 1494 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 1516 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
D | softmax_layer_quantized.clembed | 1346 …x2 = ASYMM_MULT(x, x, size); … 1348 …x3 = ASYMM_MULT(x2, x, size); … 1350 …x4 = ASYMM_MULT(x2, x2, size); … 1354 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 1357 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 1393 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 1486 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 1490 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 1494 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 1516 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
D | roi_pooling_layer.clembed | 2590 …x2 = ASYMM_MULT(x, x, size); … 2592 …x3 = ASYMM_MULT(x2, x, size); … 2594 …x4 = ASYMM_MULT(x2, x2, size); … 2598 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 2601 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 2637 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 2730 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 2734 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 2738 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 2760 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
D | reduction_operation.clembed | 2590 …x2 = ASYMM_MULT(x, x, size); … 2592 …x3 = ASYMM_MULT(x2, x, size); … 2594 …x4 = ASYMM_MULT(x2, x2, size); … 2598 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 2601 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 2637 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 2730 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 2734 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 2738 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 2760 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
D | gemmlowp.clembed | 5139 …x2 = ASYMM_MULT(x, x, size); … 5141 …x3 = ASYMM_MULT(x2, x, size); … 5143 …x4 = ASYMM_MULT(x2, x2, size); … 5147 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 5150 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 5186 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 5279 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 5283 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 5287 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 5309 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
/external/ComputeLibrary/cl_kernels/ |
D | helpers_asymm.hembed | 1345 …x2 = ASYMM_MULT(x, x, size); … 1347 …x3 = ASYMM_MULT(x2, x, size); … 1349 …x4 = ASYMM_MULT(x2, x2, size); … 1353 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 1356 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 1392 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 1485 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 1489 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 1493 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 1515 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
/external/ComputeLibrary/cl_kernels/nchw/ |
D | direct_convolution.clembed | 2590 …x2 = ASYMM_MULT(x, x, size); … 2592 …x3 = ASYMM_MULT(x2, x, size); … 2594 …x4 = ASYMM_MULT(x2, x2, size); … 2598 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 2601 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 2637 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 2730 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 2734 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 2738 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 2760 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|
/external/ComputeLibrary/cl_kernels/nhwc/ |
D | direct_convolution.clembed | 3892 …x2 = ASYMM_MULT(x, x, size); … 3894 …x3 = ASYMM_MULT(x2, x, size); … 3896 …x4 = ASYMM_MULT(x2, x2, size); … 3900 …x4_over_24_plus_x3_over_6_plus_x2 = ASYMM_MULT((x4_over_4 + x3), constant_1_over_3, size) + x2; … 3903 …return constant_term + ASYMM_MULT(constant_term, x + x4_over_24_plus_x3_over_6_plus_x2_over_2, siz… 3939 …ASYMM_MULT(result, fp_multiplier, size), result, size); … 4032 …x = Q2_48_over_17 + ASYMM_MULT(half_denominator, Q2_neg_32_over_17, size); … 4036 … half_denominator_times_x = ASYMM_MULT(half_denominator, x, size); \ 4040 … tmp = ASYMM_MULT(x, one_minus_half_denominator_times_x, size); \ 4062 #define ASYMM_MULT(a, b, size) ASYMM_MULT_STR(a, b, size) [all …]
|