Home
last modified time | relevance | path

Searched refs:vecsize (Results 1 – 8 of 8) sorted by relevance

/external/OpenCL-CTS/test_conformance/select/
Dtest_select.cpp316 int vecsize; in doTest() local
341 for (vecsize = 0; vecsize < VECTOR_SIZE_COUNT; ++vecsize) in doTest()
343 …programs[vecsize] = makeSelectProgram(&kernels[vecsize], context, stype, cmptype, element_count[ve… in doTest()
344 if (!programs[vecsize] || !kernels[vecsize]) { in doTest()
406 for (vecsize = 0; vecsize < VECTOR_SIZE_COUNT; ++vecsize) in doTest()
408 size_t vector_size = element_count[vecsize] * type_size[stype]; in doTest()
411 if((err = clSetKernelArg(kernels[vecsize], 0, sizeof dest, &dest) )) in doTest()
413 if((err = clSetKernelArg(kernels[vecsize], 1, sizeof src1, &src1) )) in doTest()
415 if((err = clSetKernelArg(kernels[vecsize], 2, sizeof src2, &src2) )) in doTest()
417 if((err = clSetKernelArg(kernels[vecsize], 3, sizeof cmp, &cmp) )) in doTest()
[all …]
/external/OpenCL-CTS/test_conformance/geometrics/
Dtest_geometrics.cpp155 int vecsize; in test_geom_cross() local
164 for(vecsize = 3; vecsize <= 4; ++vecsize) in test_geom_cross()
169 BufferOwningPtr<cl_float> A(malloc(sizeof(cl_float) * TEST_SIZE * vecsize)); in test_geom_cross()
170 BufferOwningPtr<cl_float> B(malloc(sizeof(cl_float) * TEST_SIZE * vecsize)); in test_geom_cross()
171 BufferOwningPtr<cl_float> C(malloc(sizeof(cl_float) * TEST_SIZE * vecsize)); in test_geom_cross()
180 …if( create_single_kernel_helper( context, &program, &kernel, 1, vecsize == 3 ? &crossKernelSourceV… in test_geom_cross()
184 for( i = 0; i < TEST_SIZE * vecsize; i++ ) in test_geom_cross()
189 fillWithTrickyNumbers( inDataA, inDataB, vecsize ); in test_geom_cross()
192 sizeof(cl_float) * vecsize * TEST_SIZE, in test_geom_cross()
200 sizeof(cl_float) * vecsize * TEST_SIZE, in test_geom_cross()
[all …]
Dtest_geometrics_double.cpp173 int vecsize; in test_geom_cross_double() local
176 for(vecsize = 3; vecsize <= 4; ++vecsize) in test_geom_cross_double()
180 bufSize = sizeof(cl_double) * TEST_SIZE * vecsize; in test_geom_cross_double()
184 bufSize = sizeof(cl_double) * size * vecsize; in test_geom_cross_double()
202 …if( create_single_kernel_helper( context, &program, &kernel, 1, vecsize == 3 ? &crossKernelSource_… in test_geom_cross_double()
206 for( i = 0; i < size * vecsize; i++ ) in test_geom_cross_double()
211 fillWithTrickyNumbers_double( inDataA, inDataB, vecsize ); in test_geom_cross_double()
260 …cross_product_double( inDataA + i * vecsize, inDataB + i * vecsize, testVector, errorTolerances, 3… in test_geom_cross_double()
262 double errs[] = { fabs( testVector[ 0 ] - outData[ i * vecsize + 0 ] ), in test_geom_cross_double()
263 fabs( testVector[ 1 ] - outData[ i * vecsize + 1 ] ), in test_geom_cross_double()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/re2/util/
Dpcre.cc516 int vecsize) const { in TryMatch()
556 vecsize); in TryMatch()
564 rc = vecsize / 2; in TryMatch()
599 << ", vecsize=" << vecsize; in TryMatch()
613 int vecsize) const { in DoMatchImpl()
614 assert((1 + n) * 3 <= vecsize); // results + PCRE workspace in DoMatchImpl()
620 int matches = TryMatch(text, 0, anchor, true, vec, vecsize); in DoMatchImpl()
663 const int vecsize = (1 + n) * 3; // results + PCRE workspace in DoMatch() local
665 int* vec = new int[vecsize]; in DoMatch()
666 bool b = DoMatchImpl(text, anchor, consumed, args, n, vec, vecsize); in DoMatch()
Dpcre.h473 int vecsize) const;
490 int vecsize) const;
/external/mesa3d/prebuilt-intermediates/bifrost/
Dbi_generated_pack.h124 unsigned vecsize = ins->vector_channels - 1; in pan_pack_add_ld_var_flat() local
125 assert(vecsize < 4); in pan_pack_add_ld_var_flat()
150 …return 0x538c0 | (src0 << 3) | (vecsize << 8) | (function << 0) | (derived_10 << 10) | (derived_19… in pan_pack_add_ld_var_flat()
152 return 0xcf8c0 | (src0 << 3) | (vecsize << 8) | (function << 0); in pan_pack_add_ld_var_flat()
796 unsigned vecsize = ins->vector_channels - 1; in pan_pack_add_ld_var_flat_imm() local
797 assert(vecsize < 4); in pan_pack_add_ld_var_flat_imm()
823 …return 0x53800 | (vecsize << 8) | (function << 0) | (index << 3) | (derived_10 << 10) | (derived_1… in pan_pack_add_ld_var_flat_imm()
825 return 0xcf800 | (vecsize << 8) | (function << 0) | (index << 3); in pan_pack_add_ld_var_flat_imm()
941 unsigned vecsize = ins->vector_channels - 1; in pan_pack_add_st_tile() local
942 assert(vecsize < 4); in pan_pack_add_st_tile()
[all …]
Dbifrost_gen_disasm.c14 const char *vecsize = vecsize_table[(_BITS(bits, 3, 2) << 0) | (_BITS(bits, 10, 4) << 2)]; in bi_disasm_add_ld_var_special_1() local
29 fputs(vecsize, fp); in bi_disasm_add_ld_var_special_1()
100 const char *vecsize = vecsize_table[_BITS(bits, 8, 2)]; in bi_disasm_add_ld_var_imm_0() local
103 fputs(vecsize, fp); in bi_disasm_add_ld_var_imm_0()
878 const char *vecsize = vecsize_table[_BITS(bits, 11, 2)]; in bi_disasm_add_ld_attr_tex_0() local
882 fputs(vecsize, fp); in bi_disasm_add_ld_attr_tex_0()
1246 const char *vecsize = vecsize_table[_BITS(bits, 8, 2)]; in bi_disasm_add_ld_var_imm_1() local
1249 fputs(vecsize, fp); in bi_disasm_add_ld_var_imm_1()
2480 const char *vecsize = vecsize_table[_BITS(bits, 8, 2)]; in bi_disasm_add_ld_var_flat_imm_1() local
2489 fputs(vecsize, fp); in bi_disasm_add_ld_var_flat_imm_1()
[all …]
/external/llvm/lib/Target/NVPTX/
DNVPTXVector.td617 class VecModStr<string vecsize, string elem, string extra, string l="">
621 string t3 = !strconcat(t2, vecsize);
626 class ShuffleOneLine<string vecsize, string elem, string type>
628 string t1 = VecModStr<vecsize, elem, "comm", "1">.s;
634 string t7 = !strconcat(t6, VecModStr<vecsize, elem, "pos">.s);
636 string t9 = !strconcat(t8, VecModStr<vecsize, elem, "comm", "2">.s);
642 string t15 = !strconcat(t14, VecModStr<vecsize, elem, "pos">.s);