Home
last modified time | relevance | path

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

12

/third_party/boost/boost/compute/utility/
Dprogram_cache.hpp52 class program_cache : boost::noncopyable class
57 program_cache(size_t capacity) in program_cache() function in boost::compute::program_cache
63 ~program_cache() in ~program_cache()
149 static boost::shared_ptr<program_cache> get_global_cache(const context &context) in get_global_cache()
151 typedef detail::lru_cache<cl_context, boost::shared_ptr<program_cache> > cache_map; in get_global_cache()
155 boost::optional<boost::shared_ptr<program_cache> > cache = caches.get(context.get()); in get_global_cache()
157 cache = boost::make_shared<program_cache>(64); in get_global_cache()
/third_party/boost/libs/compute/include/boost/compute/utility/
Dprogram_cache.hpp52 class program_cache : boost::noncopyable class
57 program_cache(size_t capacity) in program_cache() function in boost::compute::program_cache
63 ~program_cache() in ~program_cache()
149 static boost::shared_ptr<program_cache> get_global_cache(const context &context) in get_global_cache()
151 typedef detail::lru_cache<cl_context, boost::shared_ptr<program_cache> > cache_map; in get_global_cache()
155 boost::optional<boost::shared_ptr<program_cache> > cache = caches.get(context.get()); in get_global_cache()
157 cache = boost::make_shared<program_cache>(64); in get_global_cache()
/third_party/boost/libs/compute/test/
Dtest_program_cache.cpp27 boost::shared_ptr<compute::program_cache> cache = in BOOST_AUTO_TEST_CASE()
28 compute::program_cache::get_global_cache(ctx); in BOOST_AUTO_TEST_CASE()
57 boost::shared_ptr<compute::program_cache> cache_copy = in BOOST_AUTO_TEST_CASE()
58 compute::program_cache::get_global_cache(ctx_copy); in BOOST_AUTO_TEST_CASE()
68 compute::program_cache cache(4); in BOOST_AUTO_TEST_CASE()
DCMakeLists.txt89 add_compute_test("utility.program_cache" test_program_cache.cpp)
/third_party/flutter/skia/third_party/externals/sdl/src/render/opengles2/
DSDL_render_gles2.c193 GLES2_ProgramCache program_cache; member
452 entry = data->program_cache.head; in GLES2_DestroyRenderer()
905 entry = data->program_cache.head; in GLES2_CacheProgram()
913 if (data->program_cache.head != entry) { in GLES2_CacheProgram()
921 entry->next = data->program_cache.head; in GLES2_CacheProgram()
922 data->program_cache.head->prev = entry; in GLES2_CacheProgram()
923 data->program_cache.head = entry; in GLES2_CacheProgram()
981 if (data->program_cache.head) { in GLES2_CacheProgram()
982 entry->next = data->program_cache.head; in GLES2_CacheProgram()
983 data->program_cache.head->prev = entry; in GLES2_CacheProgram()
[all …]
/third_party/boost/boost/compute/algorithm/
Dlexicographical_compare.hpp55 boost::shared_ptr<program_cache> cache = in dispatch_lexicographical_compare()
56 program_cache::get_global_cache(context); in dispatch_lexicographical_compare()
/third_party/boost/libs/compute/include/boost/compute/algorithm/
Dlexicographical_compare.hpp55 boost::shared_ptr<program_cache> cache = in dispatch_lexicographical_compare()
56 program_cache::get_global_cache(context); in dispatch_lexicographical_compare()
/third_party/boost/libs/compute/include/boost/compute/random/
Dthreefry_engine.hpp142 boost::shared_ptr<program_cache> cache = in load_program()
143 program_cache::get_global_cache(m_context); in load_program()
Dmersenne_twister_engine.hpp186 boost::shared_ptr<program_cache> cache = in load_program()
187 program_cache::get_global_cache(m_context); in load_program()
Dlinear_congruential_engine.hpp200 boost::shared_ptr<program_cache> cache = in load_program()
201 program_cache::get_global_cache(m_context); in load_program()
/third_party/boost/boost/compute/random/
Dthreefry_engine.hpp142 boost::shared_ptr<program_cache> cache = in load_program()
143 program_cache::get_global_cache(m_context); in load_program()
Dmersenne_twister_engine.hpp186 boost::shared_ptr<program_cache> cache = in load_program()
187 program_cache::get_global_cache(m_context); in load_program()
Dlinear_congruential_engine.hpp200 boost::shared_ptr<program_cache> cache = in load_program()
201 program_cache::get_global_cache(m_context); in load_program()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_draw.cpp189 struct hash_table *ht = &ctx->program_cache[ctx->shader_stages >> 2]; in update_gfx_program()
1069 _mesa_hash_table_init(&ctx->program_cache[0], ctx, hash_gfx_program<0>, equals_gfx_program<0>); in zink_init_draw_functions()
1070 _mesa_hash_table_init(&ctx->program_cache[1], ctx, hash_gfx_program<1>, equals_gfx_program<1>); in zink_init_draw_functions()
1071 _mesa_hash_table_init(&ctx->program_cache[2], ctx, hash_gfx_program<2>, equals_gfx_program<2>); in zink_init_draw_functions()
1072 _mesa_hash_table_init(&ctx->program_cache[3], ctx, hash_gfx_program<3>, equals_gfx_program<3>); in zink_init_draw_functions()
1073 _mesa_hash_table_init(&ctx->program_cache[4], ctx, hash_gfx_program<4>, equals_gfx_program<4>); in zink_init_draw_functions()
1074 _mesa_hash_table_init(&ctx->program_cache[5], ctx, hash_gfx_program<5>, equals_gfx_program<5>); in zink_init_draw_functions()
1075 _mesa_hash_table_init(&ctx->program_cache[6], ctx, hash_gfx_program<6>, equals_gfx_program<6>); in zink_init_draw_functions()
1076 _mesa_hash_table_init(&ctx->program_cache[7], ctx, hash_gfx_program<7>, equals_gfx_program<7>); in zink_init_draw_functions()
Dzink_context.h237 struct hash_table program_cache[8]; member
Dzink_compiler.c1512 … _mesa_hash_table_remove_key(&ctx->program_cache[prog->stages_present >> 2], prog->shaders); in zink_shader_free()
Dzink_context.c149 for (unsigned i = 0; i < ARRAY_SIZE(ctx->program_cache); i++) in zink_context_destroy()
150 _mesa_hash_table_clear(&ctx->program_cache[i], NULL); in zink_context_destroy()
/third_party/boost/libs/compute/include/boost/compute/algorithm/detail/
Dreduce_on_gpu.hpp230 boost::shared_ptr<program_cache> cache = in reduce_on_gpu()
231 program_cache::get_global_cache(context); in reduce_on_gpu()
Dradix_sort.hpp279 boost::shared_ptr<program_cache> cache = in radix_sort_impl()
280 program_cache::get_global_cache(context); in radix_sort_impl()
/third_party/boost/boost/compute/algorithm/detail/
Dreduce_on_gpu.hpp230 boost::shared_ptr<program_cache> cache = in reduce_on_gpu()
231 program_cache::get_global_cache(context); in reduce_on_gpu()
Dradix_sort.hpp279 boost::shared_ptr<program_cache> cache = in radix_sort_impl()
280 program_cache::get_global_cache(context); in radix_sort_impl()
/third_party/boost/libs/compute/doc/
Dreference.qbk36 * [classref boost::compute::program_cache program_cache]
/third_party/boost/libs/compute/include/boost/compute/detail/
Dmeta_kernel.hpp367 boost::shared_ptr<program_cache> cache = in compile()
368 program_cache::get_global_cache(context); in compile()
/third_party/boost/boost/compute/detail/
Dmeta_kernel.hpp367 boost::shared_ptr<program_cache> cache = in compile()
368 program_cache::get_global_cache(context); in compile()
/third_party/boost/libs/compute/doc/html/
Dstandalone_HTML.manifest203 boost/compute/program_cache.html

12