Home
last modified time | relevance | path

Searched refs:program_cache (Results 1 – 19 of 19) sorted by relevance

/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
H A Dprogram_cache.cc69 ProgramCache::ProgramCache(ProgramCache&& program_cache) in ProgramCache() argument
70 : programs_(std::move(program_cache.programs_)) {} in ProgramCache()
72 ProgramCache& ProgramCache::operator=(ProgramCache&& program_cache) { in operator =() argument
73 if (this != &program_cache) { in operator =()
74 programs_ = std::move(program_cache.programs_); in operator =()
H A DBUILD256 ":program_cache",
307 ":program_cache",
442 name = "program_cache",
443 srcs = ["program_cache.cc"],
444 hdrs = ["program_cache.h"],
H A Denvironment.h52 ProgramCache* program_cache() { return &program_cache_; } in program_cache() function
53 const ProgramCache* program_cache() const { return &program_cache_; } in program_cache() function
H A Dapi.cc924 if (environment_.program_cache() && in BuildSerializedModel()
927 environment_.program_cache() in BuildSerializedModel()
949 if (environment_.program_cache() && in NewInferenceBuilder()
952 environment_.program_cache() in NewInferenceBuilder()
969 if (environment_.program_cache() && in NewInferenceBuilder()
972 environment_.program_cache() in NewInferenceBuilder()
987 environment_.program_cache() in GetSerializedBinaryCache()
H A Dprogram_cache.h39 ProgramCache(ProgramCache&& program_cache);
40 ProgramCache& operator=(ProgramCache&& program_cache);
H A Dinference_context.cc263 creation_context.cache = env->program_cache(); in InitFromGpuModel()
312 auto encoded_fb = Encode(*env->GetDevicePtr(), *env->program_cache(), in InitFromGpuModel()
353 RETURN_IF_ERROR(env->program_cache()->AddProgramBinary( in RestoreDeserialized()
390 *env->program_cache(), fingerprint, env->GetDevicePtr()->GetInfo(), in RestoreDeserialized()
928 const CLDevice& device, const ProgramCache& program_cache, in Encode() argument
951 program_cache.GetProgramBinary(fingerprint, &program_binary).IgnoreError(); in Encode()
H A Dcl_operation.cc176 absl::Status ClOperation::RestoreDeserialized(const ProgramCache& program_cache, in RestoreDeserialized() argument
183 program_cache.GetKernel(kernel_fingerprint_, "main_function", &kernel_)); in RestoreDeserialized()
H A Dcl_operation.h120 absl::Status RestoreDeserialized(const ProgramCache& program_cache,
H A Dinference_context.h115 const CLDevice& device, const ProgramCache& program_cache,
/aosp_15_r20/external/mesa3d/src/gallium/drivers/zink/
H A Dzink_draw.cpp1300 _mesa_hash_table_init(&ctx->program_cache[0], ctx, hash_gfx_program<0>, equals_gfx_program<0>); in zink_init_draw_functions()
1301 _mesa_hash_table_init(&ctx->program_cache[1], ctx, hash_gfx_program<1>, equals_gfx_program<1>); in zink_init_draw_functions()
1302 _mesa_hash_table_init(&ctx->program_cache[2], ctx, hash_gfx_program<2>, equals_gfx_program<2>); in zink_init_draw_functions()
1303 _mesa_hash_table_init(&ctx->program_cache[3], ctx, hash_gfx_program<3>, equals_gfx_program<3>); in zink_init_draw_functions()
1304 _mesa_hash_table_init(&ctx->program_cache[4], ctx, hash_gfx_program<4>, equals_gfx_program<4>); in zink_init_draw_functions()
1305 _mesa_hash_table_init(&ctx->program_cache[5], ctx, hash_gfx_program<5>, equals_gfx_program<5>); in zink_init_draw_functions()
1306 _mesa_hash_table_init(&ctx->program_cache[6], ctx, hash_gfx_program<6>, equals_gfx_program<6>); in zink_init_draw_functions()
1307 _mesa_hash_table_init(&ctx->program_cache[7], ctx, hash_gfx_program<7>, equals_gfx_program<7>); in zink_init_draw_functions()
H A Dzink_program.c613 struct hash_table *ht = &ctx->program_cache[zink_program_cache_stages(ctx->shader_stages)]; in zink_gfx_program_update()
724 struct hash_table *ht = &ctx->program_cache[zink_program_cache_stages(ctx->shader_stages)]; in zink_gfx_program_update_optimal()
774 struct hash_table *ht = &ctx->program_cache[zink_program_cache_stages(ctx->shader_stages)]; in zink_gfx_program_update_optimal()
2221 struct hash_table *ht = &ctx->program_cache[zink_program_cache_stages(shader_stages)]; in zink_link_gfx_shader()
H A Dzink_types.h1835 struct hash_table program_cache[8]; member
H A Dzink_context.c136 for (unsigned i = 0; i < ARRAY_SIZE(ctx->program_cache); i++) { in zink_context_destroy()
138 hash_table_foreach(&ctx->program_cache[i], entry) { in zink_context_destroy()
249 for (unsigned i = 0; i < ARRAY_SIZE(ctx->program_cache); i++) in zink_context_destroy()
250 _mesa_hash_table_clear(&ctx->program_cache[i], NULL); in zink_context_destroy()
H A Dzink_compiler.c6526 struct hash_table *ht = &prog->base.ctx->program_cache[idx]; in gfx_shader_prune()
/aosp_15_r20/external/tensorflow/tensorflow/lite/delegates/gpu/cl/kernels/
H A Dconverter.cc176 return environment->program_cache()->GetOrCreateCLKernel( in Init()
281 return environment->program_cache()->GetOrCreateCLKernel( in Init()
386 return environment->program_cache()->GetOrCreateCLKernel( in Init()
H A Dcl_test.cc78 creation_context.cache = env_.program_cache(); in ExecuteGpuOperationInternal()
/aosp_15_r20/external/mesa3d/docs/relnotes/
H A D20.0.0.rst786 - i965/program_cache: Lift restriction on shader key size
H A D23.2.1.rst1794 - mesa/program_cache: remove unused shader-cache functions
/aosp_15_r20/development/tools/repo_diff/service/repodiff/persistence/filesystem/testdata/
H A Dcommit.csv66597 …atform/external/mesa3d,[email protected],mesa/program_cache: calloc the co…