Home
last modified time | relevance | path

Searched refs:program_size (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/polly/lib/External/ppcg/
Docl_utilities.c112 const char *program_source, size_t program_size, in opencl_build_program_from_string() argument
121 &program_source, &program_size, &err); in opencl_build_program_from_string()
150 size_t program_size, read; in opencl_build_program_from_file() local
158 program_size = ftell(program_file); in opencl_build_program_from_file()
160 program_source = (char *) malloc(program_size + 1); in opencl_build_program_from_file()
161 program_source[program_size] = '\0'; in opencl_build_program_from_file()
162 read = fread(program_source, sizeof(char), program_size, program_file); in opencl_build_program_from_file()
163 if (read != program_size) { in opencl_build_program_from_file()
170 program_size, opencl_options); in opencl_build_program_from_file()
Docl_utilities.h24 const char *program_source, size_t program_size,
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_rpc_support.cc61 entry.size = entry.tpu_program_group->program_size(); in DeserializeRpcResponseToCacheEntry()
89 const int64 program_size = tpu_program_group->program_size(); in SerializeCacheEntryToBufferSlices() local
90 if (program_size > INT_MAX) { in SerializeCacheEntryToBufferSlices()
Dtpu_program_group_interface.h46 virtual int64_t program_size() const = 0;
Dcompiled_subgraph.h157 int64 size = tpu_program_group->program_size(); in ComputeTotalSize()
Dtpu_program_group.h115 int64_t program_size() const override;
Dtpu_program_group.cc125 int64_t TpuProgramGroup::program_size() const { in program_size() function in tensorflow::tpu::TpuProgramGroup
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_ff_gs.c54 GLuint program_size; in brw_codegen_ff_gs_prog() local
134 program = brw_get_program(&c.func, &program_size); in brw_codegen_ff_gs_prog()
139 0, program_size, stderr); in brw_codegen_ff_gs_prog()
145 program, program_size, in brw_codegen_ff_gs_prog()
Dbrw_sf.c54 unsigned program_size; in compile_sf_prog() local
60 &brw->vue_map_geom_out, &program_size); in compile_sf_prog()
64 program, program_size, in compile_sf_prog()
Dbrw_clip.c50 unsigned program_size; in compile_clip_prog() local
56 &brw->vue_map_geom_out, &program_size); in compile_clip_prog()
61 program, program_size, in compile_clip_prog()
Dbrw_program_binary.c183 program, prog_data->program_size, prog_data, in deserialize_gen_program()
317 blob_write_bytes(binary, program, prog_data->program_size); in brw_write_blob_program_data()
339 *program = blob_read_bytes(binary, prog_data->program_size); in brw_read_blob_program_data()
Dbrw_disk_cache.c211 prog_data->program_size, stderr); in read_and_upload()
215 program, prog_data->program_size, prog_data, in read_and_upload()
Dbrw_gs.c127 program, prog_data.base.base.program_size, in brw_codegen_gs_prog()
Dbrw_cs.c155 program, prog_data.base.program_size, in brw_codegen_cs_prog()
Dbrw_tes.c112 program, prog_data.base.base.program_size, in brw_codegen_tes_prog()
Dbrw_vs.c223 program, prog_data.base.base.program_size, in brw_codegen_vs_prog()
Dbrw_tcs.c150 program, prog_data.base.base.program_size, in brw_codegen_tcs_prog()
Dbrw_wm.c164 program, prog_data.base.program_size, in brw_codegen_wm_prog()
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_program.c496 GLuint program_size = p->csr - p->program; in i915_fini_program() local
534 p->declarations[0] |= program_size + decl_size - 2; in i915_fini_program()
541 GLuint program_size = p->csr - p->program; in i915_upload_program() local
549 if (i915->state.ProgramSize != (program_size + decl_size) || in i915_upload_program()
551 program_size * sizeof(int)) != 0) { in i915_upload_program()
555 program_size * sizeof(int)); in i915_upload_program()
556 i915->state.ProgramSize = decl_size + program_size; in i915_upload_program()
/external/mesa3d/src/gallium/drivers/iris/
Diris_program_cache.c186 if (existing->prog_data->program_size == assembly_size && in find_existing_assembly()
213 find_existing_assembly(cache, assembly, prog_data->program_size); in iris_upload_shader()
227 u_upload_alloc(ice->shaders.uploader, 0, prog_data->program_size, 64, in iris_upload_shader()
230 memcpy(shader->map, assembly, prog_data->program_size); in iris_upload_shader()
Diris_disk_cache.c115 blob_write_bytes(&blob, shader->map, shader->prog_data->program_size); in iris_disk_cache_store()
188 assembly = blob_read_bytes(&blob, prog_data->program_size); in iris_disk_cache_retrieve()
/external/mesa3d/src/intel/blorp/
Dblorp.c301 unsigned program_size; in blorp_ensure_sf_program() local
308 &prog_data_tmp, &vue_map, &program_size); in blorp_ensure_sf_program()
312 &key, sizeof(key), program, program_size, in blorp_ensure_sf_program()
Dblorp_clear.c106 program, prog_data.base.program_size, in blorp_params_get_clear_kernel()
200 program, vs_prog_data.base.base.program_size, in blorp_params_get_layer_offset_vs()
1197 program, prog_data.base.program_size, in blorp_params_get_mcs_partial_resolve_kernel()
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_translate.c1115 unsigned long program_size = (unsigned long) (p->csr - p->program); in i915_fini_compile() local
1146 p->declarations[0] |= program_size + decl_size - 2; in i915_fini_compile()
1156 = (uint *) MALLOC(program_size * sizeof(uint)); in i915_fini_compile()
1167 ifs->program_len = program_size; in i915_fini_compile()
1171 program_size * sizeof(uint)); in i915_fini_compile()
/external/skqp/src/compute/hs/cl/
Dhs_cl.c974 uint32_t const program_size = NPBTOHL_MACRO(target->program+1); in hs_cl_create() local
982 size_t const bins_sizeof[] = { program_size }; in hs_cl_create()
1009 size_t const strings_sizeof[] = { program_size }; in hs_cl_create()

12