Home
last modified time | relevance | path

Searched refs:programs (Results 1 – 25 of 1468) sorted by relevance

12345678910>>...59

/external/deqp/external/openglcts/modules/common/
DglcMultipleContextsTests.cpp80 void prepareProgram(Utils::program** programs, bool is_separable);
82 void prepareProgramPipeline(glw::GLuint& pipeline_id, Utils::program** programs);
86 bool testProgram(Utils::program** programs, bool is_separable, const glw::GLuint test_cases[][5],
586 void UniformPreservationTest::prepareProgram(Utils::program** programs, bool is_separable) in prepareProgram() argument
607 programs[0]->build(0 /* compute shader source */, fragmenty_shader_code, geometry_shader_code, in prepareProgram()
611 programs[m_geometry_stage_index] = programs[m_fragment_stage_index]; in prepareProgram()
612 programs[m_tesselation_control_stage_index] = programs[m_fragment_stage_index]; in prepareProgram()
613 programs[m_tesselation_evaluation_stage_index] = programs[m_fragment_stage_index]; in prepareProgram()
614 programs[m_vertex_stage_index] = programs[m_fragment_stage_index]; in prepareProgram()
618 programs[m_fragment_stage_index]->build(0, fragmenty_shader_code, 0, 0, 0, 0, 0, 0, true); in prepareProgram()
[all …]
/external/OpenCL-CTS/test_conformance/half/
DTest_vLoadHalf.cpp66 cl_program programs[kVectorSizeCount+kStrangeVectorSizeCount][AS_NumAddressSpaces] = {{0}}; in Test_vLoadHalf_private() local
300programs[vectorSize][AS_Global] = MakeProgram( device, source, sizeof( source) / sizeof( source[0]… in Test_vLoadHalf_private()
301 if( NULL == programs[ vectorSize ][AS_Global] ) { in Test_vLoadHalf_private()
310programs[vectorSize][AS_Global] = MakeProgram( device, sourceV3aligned, sizeof( sourceV3aligned) /… in Test_vLoadHalf_private()
311 if( NULL == programs[ vectorSize ][AS_Global] ) { in Test_vLoadHalf_private()
320programs[vectorSize][AS_Global] = MakeProgram( device, sourceV3, sizeof( sourceV3) / sizeof( sourc… in Test_vLoadHalf_private()
321 if( NULL == programs[ vectorSize ][AS_Global] ) { in Test_vLoadHalf_private()
330 …kernels[ vectorSize ][AS_Global] = clCreateKernel( programs[ vectorSize ][AS_Global], "test", &err… in Test_vLoadHalf_private()
355 programs[vectorSize][AS_Private] = MakeProgram( device, source_ptr, source_size ); in Test_vLoadHalf_private()
356 if( NULL == programs[ vectorSize ][AS_Private] ) in Test_vLoadHalf_private()
[all …]
DTest_vStoreHalf.cpp684 cl_program programs[kVectorSizeCount+kStrangeVectorSizeCount][3]; in Test_vStoreHalf_private() local
904programs[vectorSize][0] = MakeProgram( device, source_v3, sizeof(source_v3) / sizeof( source_v3[0]… in Test_vStoreHalf_private()
906programs[vectorSize][0] = MakeProgram( device, source, sizeof(source) / sizeof( source[0]) ); in Test_vStoreHalf_private()
908 if( NULL == programs[ vectorSize ][0] ) in Test_vStoreHalf_private()
914 kernels[ vectorSize ][0] = clCreateKernel( programs[ vectorSize ][0], "test", &error ); in Test_vStoreHalf_private()
923programs[vectorSize][1] = MakeProgram( device, source_private_store_v3, sizeof(source_private_stor… in Test_vStoreHalf_private()
925programs[vectorSize][1] = MakeProgram( device, source_private_store, sizeof(source_private_store) … in Test_vStoreHalf_private()
927 if( NULL == programs[ vectorSize ][1] ) in Test_vStoreHalf_private()
933 kernels[ vectorSize ][1] = clCreateKernel( programs[ vectorSize ][1], "test", &error ); in Test_vStoreHalf_private()
942programs[vectorSize][2] = MakeProgram( device, source_local_store_v3, sizeof(source_local_store_v3… in Test_vStoreHalf_private()
[all …]
/external/OpenCL-CTS/test_conformance/math_brute_force/
Dmad.cpp167 cl_program *programs; member
176 return BuildKernel( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_FloatFn()
184 return BuildKernelDouble( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_DoubleFn()
195 cl_program programs[ VECTOR_SIZE_COUNT ]; in TestFunc_mad() local
210 BuildKernelInfo build_info = { gMinVectorSizeIndex, kernels, programs, f->nameInCode }; in TestFunc_mad()
264 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_mad()
265 …Arg( kernels[j], 1, sizeof( gInBuffer ), &gInBuffer ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_mad()
266 …g( kernels[j], 2, sizeof( gInBuffer2 ), &gInBuffer2 ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_mad()
267 …g( kernels[j], 3, sizeof( gInBuffer3 ), &gInBuffer3 ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_mad()
603 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_mad()
[all …]
Dunary_u.cpp160 cl_program *programs; member
169 return BuildKernel( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_FloatFn()
177 return BuildKernelDouble( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_DoubleFn()
185 cl_program programs[ VECTOR_SIZE_COUNT ]; in TestFunc_Float_UInt() local
209 BuildKernelInfo build_info = { gMinVectorSizeIndex, kernels, programs, f->nameInCode }; in TestFunc_Float_UInt()
267 …ernels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ))){ LogBuildError(programs[j]); goto exit; } in TestFunc_Float_UInt()
268 …Arg( kernels[j], 1, sizeof( gInBuffer ), &gInBuffer ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Float_UInt()
402 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Float_UInt()
403 …Arg( kernels[j], 1, sizeof( gInBuffer ), &gInBuffer ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Float_UInt()
446 clReleaseProgram(programs[k]); in TestFunc_Float_UInt()
[all …]
Di_unary.cpp158 cl_program *programs; member
167 return BuildKernel( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_FloatFn()
175 return BuildKernelDouble( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_DoubleFn()
183 cl_program programs[ VECTOR_SIZE_COUNT ]; in TestFunc_Int_Float() local
204 BuildKernelInfo build_info = { gMinVectorSizeIndex, kernels, programs, f->nameInCode }; in TestFunc_Int_Float()
250 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Int_Float()
251 …Arg( kernels[j], 1, sizeof( gInBuffer ), &gInBuffer ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Int_Float()
350 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Int_Float()
351 …Arg( kernels[j], 1, sizeof( gInBuffer ), &gInBuffer ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Int_Float()
392 clReleaseProgram(programs[k]); in TestFunc_Int_Float()
[all …]
Dunary_two_results_i.cpp166 cl_program *programs; member
175 return BuildKernel( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_FloatFn()
183 return BuildKernelDouble( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_DoubleFn()
198 cl_program programs[ VECTOR_SIZE_COUNT ]; in TestFunc_FloatI_Float() local
224 BuildKernelInfo build_info = { gMinVectorSizeIndex, kernels, programs, f->nameInCode }; in TestFunc_FloatI_Float()
277 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float()
278 …ls[j], 1, sizeof( gOutBuffer2[j] ), &gOutBuffer2[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float()
279 …Arg( kernels[j], 2, sizeof( gInBuffer ), &gInBuffer ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float()
444 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float()
445 …ls[j], 1, sizeof( gOutBuffer2[j] ), &gOutBuffer2[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float()
[all …]
Dunary_two_results.cpp166 cl_program *programs; member
175 return BuildKernel( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_FloatFn()
183 return BuildKernelDouble( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_DoubleFn()
193 cl_program programs[ VECTOR_SIZE_COUNT ]; in TestFunc_Float2_Float() local
222 BuildKernelInfo build_info = { gMinVectorSizeIndex, kernels, programs, f->nameInCode }; in TestFunc_Float2_Float()
291 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Float2_Float()
292 …ls[j], 1, sizeof( gOutBuffer2[j] ), &gOutBuffer2[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Float2_Float()
293 …lArg(kernels[j], 2, sizeof( gInBuffer ), &gInBuffer ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Float2_Float()
607 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Float2_Float()
608 …els[j], 1, sizeof( gOutBuffer2[j] ), &gOutBuffer2[j]) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_Float2_Float()
[all …]
Dbinary_two_results_i.cpp176 cl_program *programs; member
185 return BuildKernel( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_FloatFn()
193 return BuildKernelDouble( info->nameInCode, i, info->kernels + i, info->programs + i ); in BuildKernel_DoubleFn()
274 cl_program programs[ VECTOR_SIZE_COUNT ]; in TestFunc_FloatI_Float_Float() local
303 BuildKernelInfo build_info = { gMinVectorSizeIndex, kernels, programs, f->nameInCode }; in TestFunc_FloatI_Float_Float()
360 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float_Float()
361 …ls[j], 1, sizeof( gOutBuffer2[j] ), &gOutBuffer2[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float_Float()
362 …Arg( kernels[j], 2, sizeof( gInBuffer ), &gInBuffer ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float_Float()
363 …g( kernels[j], 3, sizeof( gInBuffer2 ), &gInBuffer2 ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float_Float()
646 …nels[j], 0, sizeof( gOutBuffer[j] ), &gOutBuffer[j] ) )) { LogBuildError(programs[j]); goto exit; } in TestFunc_FloatI_Float_Float()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_state_upload.c517 if (brw->programs[MESA_SHADER_TESS_EVAL]) { in brw_upload_tess_programs()
537 if (brw->programs[MESA_SHADER_GEOMETRY]) { in brw_upload_programs()
551 if (brw->programs[MESA_SHADER_GEOMETRY]) in brw_upload_programs()
553 else if (brw->programs[MESA_SHADER_TESS_EVAL]) in brw_upload_programs()
630 if (brw->programs[MESA_SHADER_FRAGMENT] != in brw_upload_pipeline_state()
632 brw->programs[MESA_SHADER_FRAGMENT] = ctx->FragmentProgram._Current; in brw_upload_pipeline_state()
636 if (brw->programs[MESA_SHADER_TESS_EVAL] != in brw_upload_pipeline_state()
638 brw->programs[MESA_SHADER_TESS_EVAL] = ctx->TessEvalProgram._Current; in brw_upload_pipeline_state()
642 if (brw->programs[MESA_SHADER_TESS_CTRL] != in brw_upload_pipeline_state()
644 brw->programs[MESA_SHADER_TESS_CTRL] = ctx->TessCtrlProgram._Current; in brw_upload_pipeline_state()
[all …]
/external/ltp/testcases/kernel/io/direct_io/
DREADME19 diotest_routines.c: Routines to support the test programs.
20 diotest[1-6].c: 6 test programs with 30 test blocks.
21 Makefile: To compile the programs.
23 To run the programs:
24 1: Compile the programs
26 2: Execute the test script or the test programs individually.
/external/deqp/modules/glshared/
DglsShaderConstExprTests.cpp163 spec.programs.resize(1); in createTests()
165 spec.programs[0].sources << glu::VertexSource(mapped); in createTests()
184 spec.programs.resize(1); in createTests()
186 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests()
217 spec.programs.resize(1); in createTests()
219 spec.programs[0].sources << glu::VertexSource(mapped); in createTests()
238 spec.programs.resize(1); in createTests()
240 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests()
DglsShaderLibraryCase.cpp840 if (spec.programs[0].sources.separable) in isTessellationPresent()
845 for (int programNdx = 0; programNdx < (int)spec.programs.size(); ++programNdx) in isTessellationPresent()
846 if (spec.programs[programNdx].activeStages & tessellationBits) in isTessellationPresent()
851 return !spec.programs[0].sources.sources[glu::SHADERTYPE_TESSELLATION_CONTROL].empty() || in isTessellationPresent()
852 !spec.programs[0].sources.sources[glu::SHADERTYPE_TESSELLATION_EVALUATION].empty(); in isTessellationPresent()
933 const bool separablePrograms = m_spec.programs[0].sources.separable; in execute()
939 vector<ProgramSources> specializedSources (m_spec.programs.size()); in execute()
943 vector<SharedPtr<ShaderProgram> > programs; in execute() local
964 …const vector<RequiredExtension> reqExt = checkAndSpecializeExtensions(m_spec.programs[0].requiredE… in execute()
966 …DE_ASSERT(m_spec.programs.size() == 1 && m_spec.programs[0].sources.sources[SHADERTYPE_VERTEX].siz… in execute()
[all …]
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dserialization_test.cc57 programs.push_back( in OnProgram()
65 std::vector<ProgramDesc> programs; member
192 EXPECT_EQ(num_workgroups.data_, handler.programs[0].num_workgroups.data_); in TEST()
193 EXPECT_EQ(workgroup_size.data_, handler.programs[0].workgroup_size.data_); in TEST()
195 EXPECT_EQ(handler.programs[0].parameters.size(), parameters.size()); in TEST()
197 EXPECT_TRUE(Eq(parameters[i], handler.programs[0].parameters[i])) << i; in TEST()
199 EXPECT_EQ(handler.programs[0].objects.size(), objects.size()); in TEST()
201 EXPECT_TRUE(Eq(objects[i], handler.programs[0].objects[i])) << i; in TEST()
/external/bcc/src/cc/frontends/p4/
DREADME.md9 This document describes a prototype compiler that translates programs
10 written in the P4 programming languages to eBPF programs. The
11 translation is performed by generating programs written in a subset of
63 P4 programs describe the behavior of network-processing dataplanes. A
81 machine code); EBPF programs are traditionally executed by a virtual
82 machine that resides in the Linux kernel. EBPF programs can be
84 instrumentation. The main feature of EBPF programs is their *static
85 safety*: prior to execution all EBPF programs have to be validated as
86 being safe, and unsafe programs cannot be executed. A safe program
100 EBPF programs are inserted into the kernel using *hooks*. There are
[all …]
/external/python/cpython2/Tools/msi/
Dcrtlicense.txt14 If you further distribute programs that include the Microsoft
29 - use Microsoft's trademarks in your programs' names or in a way that
30 suggests your programs come from or are endorsed by Microsoft;
37 unlawful programs.
40 defined above, not to Python itself or any programs running on the
/external/python/cpython3/PC/
Dcrtlicense.txt11 If you further distribute programs that include the Microsoft
26 - use Microsoft's trademarks in your programs' names or in a way that
27 suggests your programs come from or are endorsed by Microsoft;
34 unlawful programs.
37 defined above, not to Python itself or any programs running on the
/external/angle/src/tests/gl_tests/
DD3D11InputLayoutCacheTest.cpp82 std::vector<GLuint> programs; in TEST_P() local
87 programs.push_back(program); in TEST_P()
98 GLuint program = programs[attribCount]; in TEST_P()
118 for (GLuint program : programs) in TEST_P()
/external/expat/conftools/
DPrintPath38 * ) programs="$programs $args" ;;
91 for program in $programs
/external/deqp/external/vulkancts/modules/vulkan/
DvktBuildPrograms.cpp406 de::PoolArray<Program> programs (&programPool); in buildPrograms() local
455programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram… in buildPrograms()
456 …lTasks.pushBack(BuildHighLevelShaderTask<vk::GlslSource>(progIter.getProgram(), &programs.back())); in buildPrograms()
470programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram… in buildPrograms()
471 …lTasks.pushBack(BuildHighLevelShaderTask<vk::HlslSource>(progIter.getProgram(), &programs.back())); in buildPrograms()
485programs.pushBack(Program(vk::ProgramIdentifier(casePath, progIter.getName()), progIter.getProgram… in buildPrograms()
486 buildSpirvAsmTasks.pushBack(BuildSpirVAsmTask(progIter.getProgram(), &programs.back())); in buildPrograms()
504 validationTasks.reserve(programs.size()); in buildPrograms()
506 …for (de::PoolArray<Program>::iterator progIter = programs.begin(); progIter != programs.end(); ++p… in buildPrograms()
521 …for (de::PoolArray<Program>::iterator progIter = programs.begin(); progIter != programs.end(); ++p… in buildPrograms()
[all …]
/external/e2fsprogs/
DINSTALL1 To install the second extended file system management programs,
20 cause programs that use the uuid library to core dump. To disable
23 4) Compile the programs
31 6) Install the programs
39 programs to work. It is only needed if you expect to develop other
40 programs using the libraries or if you want to compile other program
DREADME2 system management programs.
15 In case of bugs in these programs, please contact Ted Ts'o at
18 reports for these programs.
/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DTokenRewriteStream.js60 this.programs = null;
141 this.programs = {};
142 this.programs[trs.DEFAULT_PROGRAM_NAME] = []; property
161 var is = this.programs[programName];
163 programs[programName] = is.slice(trs.MIN_TOKEN_INDEX, this.instructionIndex);
345 var is = this.programs[name];
354 this.programs[name] = is;
389 var rewrites = this.programs[programName];
/external/deqp/framework/opengl/
DgluShaderLibrary.cpp100 const bool isSeparable = !spec.programs.empty() && spec.programs[0].sources.separable; in isValid()
102 if (spec.programs.empty()) in isValid()
157 for (size_t progNdx = 0; progNdx < spec.programs.size(); ++progNdx) in isValid()
165 const bool hasShader = !spec.programs[progNdx].sources.sources[shaderStageNdx].empty(); in isValid()
166 const bool isEnabled = (spec.programs[progNdx].activeStages & curStageMask) != 0; in isValid()
183 else if (!spec.programs[progNdx].sources.sources[shaderStageNdx].empty()) in isValid()
205 const bool hasVertex = !spec.programs[0].sources.sources[SHADERTYPE_VERTEX].empty(); in isValid()
206 const bool hasFragment = !spec.programs[0].sources.sources[SHADERTYPE_FRAGMENT].empty(); in isValid()
208 if (spec.programs.size() != 1) in isValid()
1467 spec.programs.resize(1); in parseShaderCase()
[all …]
/external/bcc/tools/
Dbpflist_example.txt4 bpflist displays information on running BPF programs and optionally also
5 prints open kprobes and uprobes. It is used to understand which BPF programs
16 fileslower has installed 4 BPF programs (functions) and has opened 2 BPF maps
57 Display processes currently using BPF programs and maps

12345678910>>...59