/aosp_15_r20/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 75 program_(0), in ShaderProgram() 99 program_(0), in ShaderProgram() 257 if (vertex_shader_ != 0 || fragment_shader_ != 0 || program_ != 0) { in CompileAndLink() 278 program_ = LinkProgram(shaders, 2); in CompileAndLink() 284 if (program_ != 0) { in CompileAndLink() 285 ProgramVar tex_coord_attr = glGetAttribLocation(program_, TexCoordAttributeName().c_str()); in CompileAndLink() 286 ProgramVar pos_coord_attr = glGetAttribLocation(program_, PositionAttributeName().c_str()); in CompileAndLink() 380 glGetProgramiv(program_, GL_ACTIVE_UNIFORMS, &uniform_count); in ScanUniforms() 381 glGetProgramiv(program_, GL_ACTIVE_UNIFORM_MAX_LENGTH, &buffer_size); in ScanUniforms() 384 glGetActiveUniform(program_, i, buffer_size, NULL, &capacity, &type, &name[0]); in ScanUniforms() [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/profiler/unwind/ |
H A D | line_number_program.h | 40 program_ = L; in parse() 41 program_.skip(int64_t(header_length_)); in parse() 216 while (program_.loc() < program_end_) { in readProgram() 217 PRINT_INST("{:x}: ", (char*)program_.loc() - (s_.debug_line.data)); in readProgram() 218 uint8_t op = program_.read<uint8_t>(); in readProgram() 231 auto len = program_.readULEB128(); in readProgram() 232 auto extended_op = program_.read<uint8_t>(); in readProgram() 240 address_ = program_.read<uint64_t>(); in readProgram() 252 program_.skip(int64_t(len - 1)); in readProgram() 262 address_ += program_.readULEB128(); in readProgram() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
H A D | cl_program.cc | 127 : program_(program), device_id_(device_id) {} in CLProgram() 130 : program_(program.program_), device_id_(program.device_id_) { in CLProgram() 131 program.program_ = nullptr; in CLProgram() 137 std::swap(program_, program.program_); in operator =() 146 if (program_) { in Release() 147 clReleaseProgram(program_); in Release() 148 program_ = nullptr; in Release() 154 RETURN_IF_ERROR(GetBinarySize(program_, &binary_size)); in GetBinary() 158 clGetProgramInfo(program_, CL_PROGRAM_BINARIES, sizeof(unsigned char*), in GetBinary()
|
H A D | cl_kernel.cc | 67 program_(kernel.program_), in CLKernel() 78 std::swap(program_, kernel.program_); in operator =() 90 *kern_ptr = clCreateKernel(program_, function_name_.c_str(), &error_code); in ReInit() 102 clReleaseProgram(program_); in Release() 119 program_ = program.program(); in CreateFromProgram() 120 clRetainProgram(program_); in CreateFromProgram()
|
H A D | cl_program.h | 51 cl_program program() const { return program_; } in program() 64 cl_program program_ = nullptr; variable
|
/aosp_15_r20/external/cronet/third_party/quic_trace/src/tools/render/ |
H A D | sdl_util.h | 94 GlProgram() { program_ = glCreateProgram(); } in GlProgram() 96 ~GlProgram() { glDeleteProgram(program_); } in ~GlProgram() 101 void Attach(const GlShader& shader) { glAttachShader(program_, *shader); } in Attach() 104 glLinkProgram(program_); in Link() 107 glGetProgramiv(program_, GL_LINK_STATUS, &link_status); in Link() 112 GLint var = glGetUniformLocation(program_, name); in SetUniform() 118 GLint var = glGetUniformLocation(program_, name); in SetUniform() 124 GLint var = glGetUniformLocation(program_, name); in SetUniform() 129 GLuint operator*() const { return program_; } 132 GLuint program_;
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/metal/ |
H A D | compute_task.cc | 145 program_(task.program_), in ComputeTask() 151 task.program_ = nullptr; in ComputeTask() 160 std::swap(program_, task.program_); in operator =() 173 if (program_) { in Release() 174 program_ = nullptr; in Release() 233 program_ = program; in CompileProgram() 286 [icb_command setComputePipelineState:program_]; in EncodeToICB() 309 [encoder setComputePipelineState:program_]; in Encode() 342 kernel_info.max_work_group_size = [program_ maxTotalThreadsPerThreadgroup]; in Tune()
|
/aosp_15_r20/cts/hostsidetests/adpf/app/hintsession/src/cpp/ |
H A D | Shader.h | 53 if (program_) { in ~Shader() 54 glDeleteProgram(program_); in ~Shader() 55 program_ = 0; in ~Shader() 99 : program_(program), position_(position), uv_(uv), projectionMatrix_(projectionMatrix) {} in Shader() 101 GLuint program_; variable
|
/aosp_15_r20/external/executorch/runtime/executor/test/ |
H A D | method_meta_test.cpp | 40 program_ = std::make_unique<Program>(std::move(program.get())); in SetUp() 48 std::unique_ptr<Program> program_; member in MethodMetaTest 70 Result<MethodMeta> method_meta = program_->method_meta("forward"); in TEST_F() 97 program_->method_meta("not_a_method").error(), Error::InvalidArgument); in TEST_F() 101 Result<MethodMeta> method_meta = program_->method_meta("forward"); in TEST_F()
|
H A D | kernel_resolution_test.cpp | 63 program_ = std::make_unique<Program>(std::move(program.get())); in SetUp() 67 std::unique_ptr<Program> program_; member in KernelResolutionTest 84 auto method = program_->load_method("forward", &mmm.get()); in TEST_F() 116 auto method = program_->load_method("forward", &mmm.get()); in TEST_F()
|
H A D | allocation_failure_stress_test.cpp | 55 program_ = std::make_unique<Program>(std::move(program.get())); in SetUp() 63 std::unique_ptr<Program> program_; member in AllocationFailureStressTest 80 Result<Method> method = program_->load_method("forward", &mmm.get()); in TEST_F() 115 Result<Method> method = program_->load_method("forward", &mmm.get()); in TEST_F()
|
H A D | tensor_parser_test.cpp | 80 const Program* program_ = &program.get(); in test_module_add() local 84 ProgramTestFriend::GetInternalProgram(program_); in test_module_add() 97 program_, &mmm.get(), serialization_value->val_as_Tensor()); in test_module_add()
|
H A D | kernel_integration_test.cpp | 233 program_ = std::make_unique<Program>(std::move(program.get())); in SetUp() 240 Result<Method> method = program_->load_method("forward", &mmm_->get()); in SetUp() 261 std::unique_ptr<Program> program_; member in KernelIntegrationTest
|
/aosp_15_r20/external/executorch/extension/module/ |
H A D | module.cpp | 72 : program_(std::move(program)), in Module() 108 program_ = std::shared_ptr<runtime::Program>( in load() 116 const auto method_count = program_->num_methods(); in method_names() 121 result.emplace(program_->get_method_name(index).get()); in method_names() 134 ET_UNWRAP(program_->method_meta(method_name.c_str())); in load_method() 155 method_holder.method = ET_UNWRAP_UNIQUE(program_->load_method( in load_method()
|
H A D | module.h | 109 return program_ != nullptr; in is_loaded() 119 return program_; in program() 439 std::shared_ptr<runtime::Program> program_; variable
|
/aosp_15_r20/external/executorch/runtime/executor/ |
H A D | method.h | 54 program_(rhs.program_), in Method() 77 rhs.program_ = nullptr; in Method() 276 program_(program), in Method() 317 const Program* program_; variable
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/ |
H A D | converter.cc | 68 return GlProgram::CreateWithShader(shader, &program_); in InitializeProgram() 74 return command_queue_->Dispatch(program_, num_workgroups); in Dispatch() 76 return program_.Dispatch(num_workgroups); in Dispatch() 79 GlProgram program_; member in tflite::gpu::gl::__anonf5dd32d10111::OpenGlConverterImpl 170 RETURN_IF_ERROR(program_.SetParameter( in Convert() 265 RETURN_IF_ERROR(program_.SetParameter( in Convert()
|
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/gl/converters/ |
H A D | bhwc_to_phwc4.h | 35 ConverterBhwcToPhwc4() : program_(), workgroup_size_() {} in ConverterBhwcToPhwc4() 45 : program_(std::move(program)), workgroup_size_(workgroup_size) {} in ConverterBhwcToPhwc4() 47 GlProgram program_; variable
|
H A D | phwc4_to_bhwc.h | 35 ConverterPhwc4ToBhwc() : program_(), workgroup_size_() {} in ConverterPhwc4ToBhwc() 45 : program_(std::move(program)), workgroup_size_(workgroup_size) {} in ConverterPhwc4ToBhwc() 47 GlProgram program_; variable
|
H A D | phwc4_to_bhwc.cc | 90 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()
|
H A D | bhwc_to_phwc4.cc | 94 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()
|
/aosp_15_r20/external/executorch/extension/runner_util/test/ |
H A D | inputs_test.cpp | 52 program_ = std::make_unique<Program>(std::move(program.get())); in SetUp() 59 Result<Method> method = program_->load_method("forward", &mmm_->get()); in SetUp() 68 std::unique_ptr<Program> program_; member in InputsTest
|
/aosp_15_r20/external/mesa3d/src/amd/compiler/ |
H A D | aco_ssa_elimination.cpp | 30 ssa_elimination_ctx(Program* program_) in ssa_elimination_ctx() 31 : logical_phi_info(program_->blocks.size()), linear_phi_info(program_->blocks.size()), in ssa_elimination_ctx() 32 empty_blocks(program_->blocks.size(), true), in ssa_elimination_ctx() 33 blocks_incoming_exec_used(program_->blocks.size(), true), program(program_) in ssa_elimination_ctx()
|
/aosp_15_r20/external/executorch/extension/pybindings/ |
H A D | pybindings.cpp | 184 program_ = std::make_unique<Program>(std::move(program.get())); in Module() 190 for (size_t i = 0; i < program_->num_methods(); ++i) { in Module() 191 auto name = program_->get_method_name(i).get(); in Module() 192 auto method_meta = program_->method_meta(name).get(); in Module() 224 for (size_t i = 0; i < program_->num_methods(); ++i) { in Module() 225 auto name = program_->get_method_name(i).get(); in Module() 229 Result<Method> method = program_->load_method( in Module() 391 std::unique_ptr<const Program> program_; // methods_ entries points to this. member in executorch::extension::pybindings::__anon7828bc6a0111::Module
|
/aosp_15_r20/external/deqp/framework/referencerenderer/ |
H A D | rrRenderer.hpp | 138 … DrawCommand(const RenderState &state_, const RenderTarget &renderTarget_, const Program &program_, in DrawCommand() argument 142 , program(program_) in DrawCommand()
|