Home
last modified time | relevance | path

Searched refs:GlProgram (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/lite/delegates/gpu/gl/
Dgl_program.h34 class GlProgram {
37 GlProgram() : id_(0) {} in GlProgram() function
43 static Status CreateWithShader(const GlShader& shader, GlProgram* gl_program);
48 GlProgram* gl_program);
51 GlProgram(GlProgram&& program);
52 GlProgram& operator=(GlProgram&& program);
53 GlProgram(const GlProgram&) = delete;
54 GlProgram& operator=(const GlProgram&) = delete;
56 ~GlProgram();
72 explicit GlProgram(GLuint program_id) : id_(program_id) {} in GlProgram() function
Dgl_program.cc124 Status GlProgram::CreateWithShader(const GlShader& shader, in CreateWithShader()
125 GlProgram* gl_program) { in CreateWithShader()
131 GlProgram program(program_id); in CreateWithShader()
142 Status GlProgram::CreateWithBinaryShader(const BinaryShader& shader, in CreateWithBinaryShader()
143 GlProgram* gl_program) { in CreateWithBinaryShader()
149 GlProgram program(program_id); in CreateWithBinaryShader()
160 Status GlProgram::GetBinary(BinaryShader* binary_shader) { in GetBinary()
183 GlProgram::GlProgram(GlProgram&& program) : id_(program.id_) { in GlProgram() function in tflite::gpu::gl::GlProgram
187 void GlProgram::Invalidate() { in Invalidate()
194 GlProgram& GlProgram::operator=(GlProgram&& program) { in operator =()
[all …]
Dcommand_queue.cc33 Status Dispatch(const GlProgram& program, const uint3& workgroups) override { in Dispatch()
57 Status Dispatch(const GlProgram& program, const uint3& workgroups) final { in Dispatch()
Dcommand_queue.h38 virtual Status Dispatch(const GlProgram& program,
Dgl_sync.h96 GlProgram flag_program_;
Druntime.h99 GlProgram program;
Dgl_sync.cc95 RETURN_IF_ERROR(GlProgram::CreateWithShader(shader, &sync.flag_program_)); in NewSync()
Druntime.cc201 GlProgram program; in AddProgram()
202 RETURN_IF_ERROR(GlProgram::CreateWithShader(shader, &program)); in AddProgram()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/converters/
Dphwc4_to_bhwc.h42 explicit ConverterPhwc4ToBhwc(GlProgram program, const uint3& workgroup_size) in ConverterPhwc4ToBhwc()
45 GlProgram program_;
Dbhwc_to_phwc4.h42 explicit ConverterBhwcToPhwc4(GlProgram program, const uint3& workgroup_size) in ConverterBhwcToPhwc4()
45 GlProgram program_;
Dphwc4_to_bhwc.cc62 GlProgram program; in Create()
63 RETURN_IF_ERROR(GlProgram::CreateWithShader(shader, &program)); in Create()
Dbhwc_to_phwc4.cc69 GlProgram program; in Create()
70 RETURN_IF_ERROR(GlProgram::CreateWithShader(shader, &program)); in Create()
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/
Dconverter.cc63 return GlProgram::CreateWithShader(shader, &program_); in InitializeProgram()
74 GlProgram program_;