Home
last modified time | relevance | path

Searched refs:float16_t (Results 1 – 25 of 259) sorted by relevance

1234567891011

/third_party/cmsis/CMSIS/DSP/Source/CommonTables/
Darm_common_tables_f16.c67 const float16_t twiddleCoefF16_16[32] = {
68 (float16_t)1.000000000f, (float16_t)0.000000000f,
69 (float16_t)0.923879533f, (float16_t)0.382683432f,
70 (float16_t)0.707106781f, (float16_t)0.707106781f,
71 (float16_t)0.382683432f, (float16_t)0.923879533f,
72 (float16_t)0.000000000f, (float16_t)1.000000000f,
73 (float16_t)-0.382683432f, (float16_t)0.923879533f,
74 (float16_t)-0.707106781f, (float16_t)0.707106781f,
75 (float16_t)-0.923879533f, (float16_t)0.382683432f,
76 (float16_t)-1.000000000f, (float16_t)0.000000000f,
[all …]
Darm_mve_tables_f16.c48 const float16_t rearranged_twiddle_stride1_16_f16[8]={
49 (float16_t)1.0000000000000f,(float16_t)0.0000000000000f,
50 (float16_t)0.9238281250000f,(float16_t)0.3825683593750f,
51 (float16_t)0.7070312500000f,(float16_t)0.7070312500000f,
52 (float16_t)0.3825683593750f,(float16_t)0.9238281250000f,};
54 const float16_t rearranged_twiddle_stride2_16_f16[8]={
55 (float16_t)1.0000000000000f,(float16_t)0.0000000000000f,
56 (float16_t)0.7070312500000f,(float16_t)0.7070312500000f,
57 (float16_t)0.0000000000000f,(float16_t)1.0000000000000f,
58 (float16_t)-0.7070312500000f,(float16_t)0.7070312500000f,};
[all …]
/third_party/cmsis/CMSIS/DSP/Include/dsp/
Dstatistics_functions_f16.h53 const float16_t * pSrc,
55 float16_t * pResult);
64 const float16_t * pSrc,
66 float16_t * pResult);
75 const float16_t * pSrc,
77 float16_t * pResult);
86 const float16_t * pSrc,
88 float16_t * pResult);
97 const float16_t * pSrc,
99 float16_t * pResult);
[all …]
Dsvm_functions_f16.h70 float16_t intercept; /**< Intercept */
71 const float16_t *dualCoefficients; /**< Dual coefficients */
72 const float16_t *supportVectors; /**< Support vectors */
84 float16_t intercept; /**< Intercept */
85 const float16_t *dualCoefficients; /**< Dual coefficients */
86 const float16_t *supportVectors; /**< Support vectors */
89 float16_t coef0; /**< Polynomial constant */
90 float16_t gamma; /**< Gamma factor */
100 float16_t intercept; /**< Intercept */
101 const float16_t *dualCoefficients; /**< Dual coefficients */
[all …]
Dfiltering_functions_f16.h50float16_t *pState; /**< points to the state variable array. The array is of length numTaps+bloc…
51 …const float16_t *pCoeffs; /**< points to the coefficient array. The array is of length numTaps. …
65 const float16_t * pCoeffs,
66 float16_t * pState,
78 const float16_t * pSrc,
79 float16_t * pDst,
89float16_t *pState; /**< Points to the array of state coefficients. The array is of length 4…
90 …const float16_t *pCoeffs; /**< Points to the array of coefficients. The array is of length 5…
99float16_t coeffs[12][8]; /**< Points to the array of modified coefficients. The array is of lengt…
112 const float16_t * pSrc,
[all …]
Ddistance_functions_f16.h63 float16_t arm_euclidean_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
73 float16_t arm_braycurtis_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
88 float16_t arm_canberra_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
99 float16_t arm_chebyshev_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
110 float16_t arm_cityblock_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
123 float16_t arm_correlation_distance_f16(float16_t *pA,float16_t *pB, uint32_t blockSize);
135 float16_t arm_cosine_distance_f16(const float16_t *pA,const float16_t *pB, uint32_t blockSize);
157 float16_t arm_jensenshannon_distance_f16(const float16_t *pA,const float16_t *pB,uint32_t blockSize…
172 float16_t arm_minkowski_distance_f16(const float16_t *pA,const float16_t *pB, int32_t order, uint32…
Dbasic_math_functions_f16.h52 const float16_t * pSrcA,
53 const float16_t * pSrcB,
54 float16_t * pDst,
65 const float16_t * pSrcA,
66 const float16_t * pSrcB,
67 float16_t * pDst,
78 const float16_t * pSrc,
79 float16_t scale,
80 float16_t * pDst,
90 const float16_t * pSrc,
[all …]
Dtransform_functions_f16.h54 const float16_t *pTwiddle; /**< points to the Twiddle factor table. */
58 float16_t onebyfftLen; /**< value of 1/fftLen. */
69 const float16_t *pTwiddle; /**< points to the Twiddle factor table. */
73 float16_t onebyfftLen; /**< value of 1/fftLen. */
82 const float16_t *pTwiddle; /**< points to the Twiddle factor table. */
89 …const float16_t *rearranged_twiddle_stride1; /**< reordered twiddle offset 1 storage */ …
90 …const float16_t *rearranged_twiddle_stride2; /**< reordered twiddle offset 2 storage */ …
91 const float16_t *rearranged_twiddle_stride3;
113 float16_t * p1,
124 const float16_t * pTwiddleRFFT; /**< Twiddle factors real stage */
[all …]
Dsupport_functions_f16.h49 void arm_copy_f16(const float16_t * pSrc, float16_t * pDst, uint32_t blockSize);
57 void arm_fill_f16(float16_t value, float16_t * pDst, uint32_t blockSize);
65 void arm_f16_to_q15(const float16_t * pSrc, q15_t * pDst, uint32_t blockSize);
73 void arm_q15_to_f16(const q15_t * pSrc, float16_t * pDst, uint32_t blockSize);
81 void arm_f64_to_f16(const float64_t * pSrc, float16_t * pDst, uint32_t blockSize);
89 void arm_f16_to_f64(const float16_t * pSrc, float64_t * pDst, uint32_t blockSize);
97 void arm_float_to_f16(const float32_t * pSrc, float16_t * pDst, uint32_t blockSize);
105 void arm_f16_to_float(const float16_t * pSrc, float32_t * pDst, uint32_t blockSize);
117 float16_t arm_weighted_sum_f16(const float16_t *in
118 , const float16_t *weigths
[all …]
Dcomplex_math_functions_f16.h51 const float16_t * pSrc,
52 float16_t * pDst,
62 const float16_t * pSrc,
63 float16_t * pDst,
73 const float16_t * pSrc,
74 float16_t * pDst,
86 const float16_t * pSrcA,
87 const float16_t * pSrcB,
89 float16_t * realResult,
90 float16_t * imagResult);
[all …]
Dfast_math_functions_f16.h60 float16_t in, in arm_sqrt_f16()
61 float16_t * pOut) in arm_sqrt_f16()
66 *pOut=(float16_t)r; in arm_sqrt_f16()
83 const float16_t * pSrc,
84 float16_t * pDst,
95 const float16_t * pSrc,
96 float16_t * pDst,
107 const float16_t * pSrc,
108 float16_t * pDst,
118 arm_status arm_atan2_f16(float16_t y,float16_t x,float16_t *result);
/third_party/cmsis/CMSIS/DSP/Include/
Darm_common_tables_f16.h42 extern const float16_t twiddleCoefF16_16[32];
44 extern const float16_t twiddleCoefF16_32[64];
46 extern const float16_t twiddleCoefF16_64[128];
48 extern const float16_t twiddleCoefF16_128[256];
50 extern const float16_t twiddleCoefF16_256[512];
52 extern const float16_t twiddleCoefF16_512[1024];
54 extern const float16_t twiddleCoefF16_1024[2048];
56 extern const float16_t twiddleCoefF16_2048[4096];
58 extern const float16_t twiddleCoefF16_4096[8192];
62 extern const float16_t twiddleCoefF16_rfft_32[32];
[all …]
Darm_mve_tables_f16.h50 extern const float16_t rearranged_twiddle_stride1_16_f16[8];
51 extern const float16_t rearranged_twiddle_stride2_16_f16[8];
52 extern const float16_t rearranged_twiddle_stride3_16_f16[8];
58 extern const float16_t rearranged_twiddle_stride1_64_f16[40];
59 extern const float16_t rearranged_twiddle_stride2_64_f16[40];
60 extern const float16_t rearranged_twiddle_stride3_64_f16[40];
66 extern const float16_t rearranged_twiddle_stride1_256_f16[168];
67 extern const float16_t rearranged_twiddle_stride2_256_f16[168];
68 extern const float16_t rearranged_twiddle_stride3_256_f16[168];
74 extern const float16_t rearranged_twiddle_stride1_1024_f16[680];
[all …]
/third_party/openGLES/extensions/AMD/
DAMD_gpu_shader_half_float_fetch.txt274 | vec2 textureQueryLod(f16sampler1D sampler, float16_t P) | Returns the mipmap array(s) |
279 | float16_t P) | |
284 | float16_t P) | |
290 | float16_t P) | |
313 | f16vec4 texture(f16sampler1D sampler, float16_t P | Use the texture coordinate P |
314 | [, float16_t bias]) | to do a texture lookup in the|
316 | [, float16_t bias]) | <sampler>. |
318 | [, float16_t bias]) | For shadow forms: When |
320 | [, float16_t bias]) | used as <Dref>, and the array|
321 | float16_t texture(f16sampler1DShadow sampler, vec3 P | layer comes from the last |
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_gpu_shader_half_float_fetch.txt274 | vec2 textureQueryLod(f16sampler1D sampler, float16_t P) | Returns the mipmap array(s) |
279 | float16_t P) | |
284 | float16_t P) | |
290 | float16_t P) | |
313 | f16vec4 texture(f16sampler1D sampler, float16_t P | Use the texture coordinate P |
314 | [, float16_t bias]) | to do a texture lookup in the|
316 | [, float16_t bias]) | <sampler>. |
318 | [, float16_t bias]) | For shadow forms: When |
320 | [, float16_t bias]) | used as <Dref>, and the array|
321 | float16_t texture(f16sampler1DShadow sampler, vec3 P | layer comes from the last |
[all …]
/third_party/cmsis/CMSIS/DSP/Source/TransformFunctions/
Darm_cfft_f16.c40 static float16_t arm_inverse_fft_length_f16(uint16_t fftLen) in arm_inverse_fft_length_f16()
42 float16_t retValue=1.0; in arm_inverse_fft_length_f16()
48 retValue = (float16_t)0.000244140625f; in arm_inverse_fft_length_f16()
52 retValue = (float16_t)0.00048828125f; in arm_inverse_fft_length_f16()
56 retValue = (float16_t)0.0009765625f; in arm_inverse_fft_length_f16()
60 retValue = (float16_t)0.001953125f; in arm_inverse_fft_length_f16()
64 retValue = (float16_t)0.00390625f; in arm_inverse_fft_length_f16()
68 retValue = (float16_t)0.0078125f; in arm_inverse_fft_length_f16()
72 retValue = (float16_t)0.015625f; in arm_inverse_fft_length_f16()
76 retValue = (float16_t)0.03125f; in arm_inverse_fft_length_f16()
[all …]
Darm_rfft_fast_f16.c39 float16_t * p, in stage_rfft_f16()
40 float16_t * pOut) in stage_rfft_f16()
43 float16_t twR, twI; /* RFFT Twiddle coefficients */ in stage_rfft_f16()
44 const float16_t * pCoeff = S->pTwiddleRFFT; /* Points to RFFT Twiddle factors */ in stage_rfft_f16()
45 float16_t *pA = p; /* increasing pointer */ in stage_rfft_f16()
46 float16_t *pB = p; /* decreasing pointer */ in stage_rfft_f16()
47 float16_t xAR, xAI, xBR, xBI; /* temporary variables */ in stage_rfft_f16()
48 float16_t t1a, t1b; /* temporary variables */ in stage_rfft_f16()
49 float16_t p0, p1, p2, p3; /* temporary variables */ in stage_rfft_f16()
199 float16_t * p, in merge_rfft_f16()
[all …]
/third_party/glslang/Test/baseResults/
Dspv.float16Fetch.frag.out325 7: TypeVector 6(float16_t) 4
336 120:6(float16_t) Constant 0
338 122: TypeImage 6(float16_t) 1D sampled format:Unknown
344 134: TypePointer Input 6(float16_t)
347 142: TypeImage 6(float16_t) 2D sampled format:Unknown
353 154: TypeVector 6(float16_t) 2
356 162: TypeImage 6(float16_t) 3D sampled format:Unknown
363 175: TypeVector 6(float16_t) 3
366 183: TypeImage 6(float16_t) Cube sampled format:Unknown
370 198: TypeImage 6(float16_t) 1D depth sampled format:Unknown
[all …]
DfindFunction.frag.out60 0:20 'a' ( in float16_t)
61 0:20 'b' ( in float16_t)
67 0:22 Convert float16_t to float ( temp float)
68 0:22 'a' ( in float16_t)
70 0:22 Convert float16_t to float ( temp float)
71 0:22 'b' ( in float16_t)
75 0:25 'a' ( in float16_t)
82 0:27 Convert float16_t to float ( temp float)
83 0:27 'a' ( in float16_t)
102 0:39 Convert int16_t to float16_t ( temp float16_t)
[all …]
/third_party/skia/third_party/externals/spirv-cross/reference/shaders-no-opt/frag/
Dfp16.invalid.desktop.frag18 layout(location = 0) in float16_t v1;
33 float16_t a = float16_t(1.0);
34 float16_t b = float16_t(1.5);
35 float16_t c = float16_t(-1.5);
36 float16_t d = float16_t(0.0 / 0.0);
37 float16_t e = float16_t(1.0 / 0.0);
38 float16_t f = float16_t(-1.0 / 0.0);
39 float16_t g = float16_t(1014.0);
40 float16_t h = float16_t(9.5367431640625e-07);
43 float16_t test_result()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_biquad_cascade_df1_init_f16.c81 const float16_t * pCoeffs, in arm_biquad_cascade_df1_init_f16()
82 float16_t * pState) in arm_biquad_cascade_df1_init_f16()
91 memset(pState, 0, (4U * (uint32_t) numStages) * sizeof(float16_t)); in arm_biquad_cascade_df1_init_f16()
105 static void generateCoefsFastBiquadF16(float16_t b0, float16_t b1, float16_t b2, float16_t a1, floa… in generateCoefsFastBiquadF16()
132 newCoef->coeffs[i][0] = (float16_t) coeffs[0][i]; in generateCoefsFastBiquadF16()
133 newCoef->coeffs[i][1] = (float16_t) coeffs[1][i]; in generateCoefsFastBiquadF16()
134 newCoef->coeffs[i][2] = (float16_t) coeffs[2][i]; in generateCoefsFastBiquadF16()
135 newCoef->coeffs[i][3] = (float16_t) coeffs[3][i]; in generateCoefsFastBiquadF16()
136 newCoef->coeffs[i][4] = (float16_t) coeffs[4][i]; in generateCoefsFastBiquadF16()
137 newCoef->coeffs[i][5] = (float16_t) coeffs[5][i]; in generateCoefsFastBiquadF16()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/BayesFunctions/
Darm_gaussian_naive_bayes_predict_f16.c60 const float16_t * in, in arm_gaussian_naive_bayes_predict_f16()
61 float16_t *pOutputProbabilities, in arm_gaussian_naive_bayes_predict_f16()
62 float16_t *pBufferB in arm_gaussian_naive_bayes_predict_f16()
66 const float16_t *pTheta = S->theta; in arm_gaussian_naive_bayes_predict_f16()
67 const float16_t *pSigma = S->sigma; in arm_gaussian_naive_bayes_predict_f16()
68 float16_t *buffer = pOutputProbabilities; in arm_gaussian_naive_bayes_predict_f16()
69 const float16_t *pIn = in; in arm_gaussian_naive_bayes_predict_f16()
70 float16_t result; in arm_gaussian_naive_bayes_predict_f16()
75 float16_t *logclassPriors=pBufferB; in arm_gaussian_naive_bayes_predict_f16()
76 float16_t *pLogPrior = logclassPriors; in arm_gaussian_naive_bayes_predict_f16()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_vec_mult_f16.c57 const float16_t *pSrcVec, in arm_mat_vec_mult_f16()
58 float16_t *pDstVec) in arm_mat_vec_mult_f16()
62 const float16_t *pSrcA = pSrcMat->pData; in arm_mat_vec_mult_f16()
63 const float16_t *pInA0; in arm_mat_vec_mult_f16()
64 const float16_t *pInA1; in arm_mat_vec_mult_f16()
65 float16_t *px; in arm_mat_vec_mult_f16()
77 const float16_t *pInA2, *pInA3; in arm_mat_vec_mult_f16()
78 float16_t const *pSrcA0Vec, *pSrcA1Vec, *pSrcA2Vec, *pSrcA3Vec, *pInVec; in arm_mat_vec_mult_f16()
80 float16_t const *pSrcVecPtr = pSrcVec; in arm_mat_vec_mult_f16()
168 float16_t const *pSrcA0Vec, *pSrcA1Vec, *pInVec; in arm_mat_vec_mult_f16()
[all …]
Darm_mat_mult_f16.c65 float16_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_mult_f16_2x2_mve()
75 vecInA = vldrhq_gather_shifted_offset((float16_t const *) pSrcA->pData, vecOffsA); in arm_mat_mult_f16_2x2_mve()
79 vecInB = vldrhq_gather_shifted_offset((float16_t const *) pSrcB->pData, vecOffsB); in arm_mat_mult_f16_2x2_mve()
94 vecInA = vldrhq_gather_shifted_offset((float16_t const *) pSrcA->pData, vecOffsA); in arm_mat_mult_f16_2x2_mve()
102 vecInB = vldrhq_gather_shifted_offset((float16_t const *) pSrcB->pData, vecOffsB); in arm_mat_mult_f16_2x2_mve()
134 float16_t *pOut = pDst->pData; /* output data matrix pointer */ in arm_mat_mult_f16_3x3_mve()
145 vecInA = vldrhq_gather_shifted_offset((float16_t const *) pSrcA->pData, vecOffsA); in arm_mat_mult_f16_3x3_mve()
149 vecInB = vldrhq_gather_shifted_offset((float16_t const *) pSrcB->pData, vecOffsB); in arm_mat_mult_f16_3x3_mve()
164 vecInA = vldrhq_gather_shifted_offset((float16_t const *) pSrcA->pData, vecOffsA); in arm_mat_mult_f16_3x3_mve()
172 vecInB = vldrhq_gather_shifted_offset((float16_t const *) pSrcB->pData, vecOffsB); in arm_mat_mult_f16_3x3_mve()
[all …]
/third_party/glslang/Test/
Dspv.constConstruct.vert14 float16_t(float16_t(0x1));
15 float16_t(float32_t(0x2));
16 float16_t(float64_t(0x3));
17 float16_t(int8_t (0x4));
18 float16_t(int16_t (0x5));
19 float16_t(int32_t (0x6));
20 float16_t(int64_t (0x7));
21 float16_t(uint8_t (0x8));
22 float16_t(uint16_t (0x9));
23 float16_t(uint32_t (0xA));
[all …]

1234567891011