Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dcl_program.cc126 : program_(program), device_id_(device_id) {} in CLProgram()
129 : program_(program.program_), device_id_(program.device_id_) { in CLProgram()
130 program.program_ = nullptr; in CLProgram()
136 std::swap(program_, program.program_); in operator =()
145 if (program_) { in Release()
146 clReleaseProgram(program_); in Release()
147 program_ = nullptr; in Release()
153 RETURN_IF_ERROR(GetBinarySize(program_, &binary_size)); in GetBinary()
156 cl_int error_code = clGetProgramInfo(program_, CL_PROGRAM_BINARIES, in GetBinary()
Dcl_kernel.cc64 program_(kernel.program_), in CLKernel()
75 std::swap(program_, kernel.program_); in operator =()
87 *kern_ptr = clCreateKernel(program_, function_name_.c_str(), &error_code); in ReInit()
99 clReleaseProgram(program_); in Release()
116 program_ = program.program(); in CreateFromProgram()
117 clRetainProgram(program_); in CreateFromProgram()
Dcl_program.h50 cl_program program() const { return program_; } in program()
63 cl_program program_ = nullptr; variable
Dcl_kernel.h83 cl_program program_ = nullptr; variable
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/converters/
Dphwc4_to_bhwc.h33 ConverterPhwc4ToBhwc() : program_(), workgroup_size_() {} in ConverterPhwc4ToBhwc()
43 : program_(std::move(program)), workgroup_size_(workgroup_size) {} in ConverterPhwc4ToBhwc()
45 GlProgram program_; variable
Dbhwc_to_phwc4.h33 ConverterBhwcToPhwc4() : program_(), workgroup_size_() {} in ConverterBhwcToPhwc4()
43 : program_(std::move(program)), workgroup_size_(workgroup_size) {} in ConverterBhwcToPhwc4()
45 GlProgram program_; variable
Dphwc4_to_bhwc.cc90 RETURN_IF_ERROR(program_.SetParameter( in Convert()
97 return command_queue->Dispatch(program_, num_workgroups); in Convert()
99 return program_.Dispatch(num_workgroups); in Convert()
Dbhwc_to_phwc4.cc94 RETURN_IF_ERROR(program_.SetParameter( in Convert()
101 return command_queue->Dispatch(program_, num_workgroups); in Convert()
103 return program_.Dispatch(num_workgroups); in Convert()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconverter.cc63 return GlProgram::CreateWithShader(shader, &program_); in InitializeProgram()
69 return command_queue_->Dispatch(program_, num_workgroups); in Dispatch()
71 return program_.Dispatch(num_workgroups); in Dispatch()
74 GlProgram program_; member in tflite::gpu::gl::__anonfbcd0ba20111::OpenGlConverterImpl
165 RETURN_IF_ERROR(program_.SetParameter( in Convert()
260 RETURN_IF_ERROR(program_.SetParameter( in Convert()
/external/deqp/framework/referencerenderer/
DrrRenderer.hpp112 …DrawCommand (const RenderState& state_, const RenderTarget& renderTarget_, const Program& program_ in DrawCommand() argument
115 , program (program_) in DrawCommand()
/external/llvm-project/flang/lib/Semantics/
Dsemantics.cpp345 return ValidateLabels(context_, program_) && in Perform()
346 parser::CanonicalizeDo(program_) && // force line break in Perform()
347 CanonicalizeAcc(context_.messages(), program_) && in Perform()
348 CanonicalizeOmp(context_.messages(), program_) && in Perform()
349 PerformStatementSemantics(context_, program_) && in Perform()
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dcompute_task.cc186 program_ = program; in CompileProgram()
218 [encoder setComputePipelineState:program_]; in Encode()
245 kernel_info.max_work_group_size = [program_ maxTotalThreadsPerThreadgroup]; in Tune()
Dcompute_task.h76 id<MTLComputePipelineState> program_; variable
/external/mesa3d/src/amd/compiler/
Daco_insert_waitcnt.cpp289 wait_ctx(Program *program_) in wait_ctx()
290 : program(program_), in wait_ctx()
291 chip_class(program_->chip_class), in wait_ctx()
292 max_vm_cnt(program_->chip_class >= GFX9 ? 62 : 14), in wait_ctx()
294 max_lgkm_cnt(program_->chip_class >= GFX10 ? 62 : 14), in wait_ctx()
295 max_vs_cnt(program_->chip_class >= GFX10 ? 62 : 0), in wait_ctx()
296 unordered_events(event_smem | (program_->chip_class < GFX10 ? event_flat : 0)), in wait_ctx()
297 collect_statistics(program_->collect_statistics) {} in wait_ctx()
/external/llvm-project/flang/include/flang/Semantics/
Dsemantics.h208 : context_{context}, program_{program} {
225 parser::Program &program_; variable