Home
last modified time | relevance | path

Searched refs:program_ (Results 1 – 25 of 27) sorted by relevance

12

/third_party/boost/boost/compute/
Dprogram.hpp351 cl_program program_ = clLinkProgram( in link() local
363 if(!program_){ in link()
367 return program(program_, false); in link()
413 cl_program program_ = clCreateProgramWithSource(context, in create_with_source() local
418 if(!program_){ in create_with_source()
422 return program(program_, false); in create_with_source()
437 cl_program program_ = clCreateProgramWithSource(context, in create_with_source() local
442 if(!program_){ in create_with_source()
446 return program(program_, false); in create_with_source()
498 cl_program program_ = clCreateProgramWithBinary(context, in create_with_binary() local
[all …]
/third_party/boost/libs/compute/include/boost/compute/
Dprogram.hpp351 cl_program program_ = clLinkProgram( in link() local
363 if(!program_){ in link()
367 return program(program_, false); in link()
413 cl_program program_ = clCreateProgramWithSource(context, in create_with_source() local
418 if(!program_){ in create_with_source()
422 return program(program_, false); in create_with_source()
437 cl_program program_ = clCreateProgramWithSource(context, in create_with_source() local
442 if(!program_){ in create_with_source()
446 return program(program_, false); in create_with_source()
498 cl_program program_ = clCreateProgramWithBinary(context, in create_with_binary() local
[all …]
/third_party/skia/third_party/externals/tint/src/inspector/
Dinspector.cc128 Inspector::Inspector(const Program* program) : program_(program) {} in Inspector()
135 for (auto* func : program_->AST().Functions()) { in GetEntryPoints()
140 auto* sem = program_->Sem().Get(func); in GetEntryPoints()
143 entry_point.name = program_->Symbols().NameFor(func->symbol); in GetEntryPoints()
144 entry_point.remapped_name = program_->Symbols().NameFor(func->symbol); in GetEntryPoints()
159 program_->Symbols().NameFor(param->Declaration()->symbol), in GetEntryPoints()
193 auto name = program_->Symbols().NameFor(decl->symbol); in GetEntryPoints()
246 for (auto* var : program_->AST().GlobalVariables()) { in GetConstantIDs()
247 auto* global = program_->Sem().Get<sem::GlobalVariable>(var); in GetConstantIDs()
301 for (auto* var : program_->AST().GlobalVariables()) { in GetConstantNameToIdMap()
[all …]
Dtest_inspector_runner.cc29 program_ = std::make_unique<Program>(reader::wgsl::Parse(file_.get())); in Initialize()
31 ASSERT_TRUE(program_->IsValid()) in Initialize()
32 << diag::Formatter().format(program_->Diagnostics()); in Initialize()
34 inspector_ = std::make_unique<Inspector>(program_.get()); in Initialize()
Dtest_inspector_runner.h43 std::unique_ptr<Program> program_; variable
Dtest_inspector_builder.cc395 program_ = std::make_unique<Program>(std::move(*this)); in Build()
397 ASSERT_TRUE(program_->IsValid()) in Build()
398 << diag::Formatter().format(program_->Diagnostics()); in Build()
400 inspector_ = std::make_unique<Inspector>(program_.get()); in Build()
Dinspector.h141 const Program* program_;
Dtest_inspector_builder.h389 std::unique_ptr<Program> program_;
Dinspector_test.cc1198 ASSERT_TRUE(program_->Sem().Get<sem::GlobalVariable>(a)); in TEST_F()
1200 program_->Sem().Get<sem::GlobalVariable>(a)->ConstantId()); in TEST_F()
1203 ASSERT_TRUE(program_->Sem().Get<sem::GlobalVariable>(b)); in TEST_F()
1205 program_->Sem().Get<sem::GlobalVariable>(b)->ConstantId()); in TEST_F()
1208 ASSERT_TRUE(program_->Sem().Get<sem::GlobalVariable>(c)); in TEST_F()
1210 program_->Sem().Get<sem::GlobalVariable>(c)->ConstantId()); in TEST_F()
/third_party/boost/libs/compute/example/
Dmandelbrot.cpp93 compute::program program_; member in MandelbrotWidget
124 program_ = compute::program::create_with_source(source, context_); in initializeGL()
125 program_.build(); in initializeGL()
176 compute::kernel kernel(program_, "mandelbrot"); in paintGL()
Dresize_image.cpp75 compute::program program_; member in ImageWidget
125 program_ = compute::program::build_with_source(source, context_); in initializeGL()
174 compute::kernel kernel(program_, "resize_image"); in paintGL()
/third_party/skia/third_party/externals/tint/src/writer/msl/
Dgenerator_impl.cc205 for (auto* const type_decl : program_->AST().TypeDecls()) { in Generate()
213 if (!program_->AST().TypeDecls().empty()) { in Generate()
217 for (auto* var : program_->AST().GlobalVariables()) { in Generate()
230 for (auto* func : program_->AST().Functions()) { in Generate()
534 auto* call = program_->Sem().Get(expr); in EmitCall()
559 out << program_->Symbols().NameFor(ident->symbol) << "("; in EmitFunctionCall()
721 auto name = program_->Symbols().NameFor(member->symbol); in EmitTypeConstructor()
1574 auto* func_sem = program_->Sem().Get(func); in EmitFunction()
1581 out << " " << program_->Symbols().NameFor(func->symbol) << "("; in EmitFunction()
1590 auto* type = program_->Sem().Get(v)->Type(); in EmitFunction()
[all …]
/third_party/skia/third_party/externals/tint/src/writer/wgsl/
Dgenerator_impl.cc70 for (auto* decl : program_->AST().GlobalDeclarations()) { in Generate()
88 if (decl != program_->AST().GlobalDeclarations().back()) { in Generate()
99 out << "type " << program_->Symbols().NameFor(alias->name) << " = "; in EmitTypeDecl()
270 out << program_->Symbols().NameFor(expr->symbol); in EmitIdentifier()
282 out << "fn " << program_->Symbols().NameFor(func->symbol) << "("; in EmitFunction()
298 out << program_->Symbols().NameFor(v->symbol) << " : "; in EmitFunction()
504 out << program_->Symbols().NameFor(tn->name); in EmitType()
520 line() << "struct " << program_->Symbols().NameFor(str->name) << " {"; in EmitStructType()
535 if (auto* mem_sem = program_->Sem().Get(mem)) { in EmitStructType()
562 out << program_->Symbols().NameFor(mem->symbol) << " : "; in EmitStructType()
[all …]
/third_party/mesa3d/src/amd/compiler/
Daco_ssa_elimination.cpp48 ssa_elimination_ctx(Program* program_) in ssa_elimination_ctx()
49 : logical_phi_info(program_->blocks.size()), linear_phi_info(program_->blocks.size()), in ssa_elimination_ctx()
50 empty_blocks(program_->blocks.size(), true), in ssa_elimination_ctx()
51 blocks_incoming_exec_used(program_->blocks.size(), true), program(program_) in ssa_elimination_ctx()
Daco_insert_waitcnt.cpp194 wait_ctx(Program* program_) in wait_ctx()
195 : program(program_), chip_class(program_->chip_class), in wait_ctx()
196 max_vm_cnt(program_->chip_class >= GFX9 ? 62 : 14), max_exp_cnt(6), in wait_ctx()
197 max_lgkm_cnt(program_->chip_class >= GFX10 ? 62 : 14), in wait_ctx()
198 max_vs_cnt(program_->chip_class >= GFX10 ? 62 : 0), in wait_ctx()
199 unordered_events(event_smem | (program_->chip_class < GFX10 ? event_flat : 0)) in wait_ctx()
Daco_statistics.cpp61 BlockCycleEstimator(Program* program_) : program(program_) {} in BlockCycleEstimator() argument
Daco_opt_value_numbering.cpp292 vn_ctx(Program* program_) : program(program_) in vn_ctx()
Daco_insert_exec_mask.cpp59 wqm_ctx(Program* program_) in wqm_ctx()
60 : program(program_), defined_in(program->peekAllocationId(), 0xFFFF), in wqm_ctx()
96 exec_ctx(Program* program_) : program(program_), info(program->blocks.size()) {} in exec_ctx()
Daco_assembler.cpp51 asm_context(Program* program_) : program(program_), chip_class(program->chip_class) in asm_context()
Daco_spill.cpp85 spill_ctx(const RegisterDemand target_pressure_, Program* program_, in spill_ctx()
87 : target_pressure(target_pressure_), program(program_), in spill_ctx()
Daco_register_allocation.cpp83 ra_ctx(Program* program_, ra_test_policy policy_) in ra_ctx()
84 : program(program_), assignments(program->peekAllocationId()), in ra_ctx()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRenderer.hpp112 …DrawCommand (const RenderState& state_, const RenderTarget& renderTarget_, const Program& program_ in DrawCommand() argument
115 , program (program_) in DrawCommand()
/third_party/skia/third_party/externals/tint/src/transform/
Dtransform.h138 Output(Program&& program_, DATA... data_) in Output() argument
139 : program(std::move(program_)), data(std::forward<DATA>(data_)...) {} in Output()
/third_party/skia/third_party/externals/tint/src/writer/
Dtext_generator.h224 Program const* const program_; variable
Dtext_generator.cc26 : program_(program), builder_(ProgramBuilder::Wrap(program)) {} in TextGenerator()

12