/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_variable_initializers.c | 139 /* Zero initialize shared_size bytes of shared memory by splitting work writes 146 const unsigned shared_size, in nir_zero_initialize_shared_memory() 149 assert(shared_size > 0); in nir_zero_initialize_shared_memory() 165 assert(shared_size % chunk_size == 0); in nir_zero_initialize_shared_memory() 179 nir_push_if(&b, nir_uge(&b, offset, nir_imm_int(&b, shared_size))); in nir_zero_initialize_shared_memory() 145 nir_zero_initialize_shared_memory(nir_shader *shader, const unsigned shared_size, const unsigned chunk_size) nir_zero_initialize_shared_memory() argument
|
H A D | nir_lower_task_shader.c | 132 .task_count_shared_addr = ALIGN(shader->info.shared_size, 4), in nir_lower_nv_task_count() 135 shader->info.shared_size += 4; in nir_lower_nv_task_count() 410 .payload_shared_addr = ALIGN(shader->info.shared_size, 16), in nir_lower_task_shader() 415 shader->info.shared_size = in nir_lower_task_shader()
|
H A D | nir_print.c | 1715 fprintf(fp, "shared-size: %u\n", shader->info.shared_size); in nir_print_shader_annotated() 1727 fprintf(fp, "shared: %u\n", shader->info.shared_size); in nir_print_shader_annotated()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
H A D | fd6_compute.c | 72 uint32_t shared_size = MAX2(((int)v->cs.req_local_mem - 1) / 1024, 1); variable 74 OUT_RING(ring, A6XX_SP_CS_UNKNOWN_A9B1_SHARED_SIZE(shared_size) | 79 OUT_RING(ring, A6XX_HLSQ_CS_UNKNOWN_B9D0_SHARED_SIZE(shared_size) |
|
/third_party/node/deps/v8/src/heap/ |
H A D | memory-measurement.cc | 136 size_t shared_size) { in MeasurementComplete() 149 result_builder.AddTotal(total_size, total_size, total_size + shared_size); in MeasurementComplete() 153 current_size + shared_size); in MeasurementComplete() 158 other_size + shared_size); in MeasurementComplete() 133 MeasurementComplete( const std::vector<std::pair<v8::Local<v8::Context>, size_t>>& context_sizes_in_bytes, size_t shared_size) MeasurementComplete() argument
|
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_shader.c | 791 if (nir->info.zero_initialize_shared_memory && nir->info.shared_size > 0) { in tu_shader_create() 798 const unsigned shared_size = ALIGN(nir->info.shared_size, chunk_size); in tu_shader_create() local 799 NIR_PASS_V(nir, nir_zero_initialize_shared_memory, shared_size, chunk_size); in tu_shader_create()
|
/third_party/mesa3d/src/broadcom/compiler/ |
H A D | v3d_nir_lower_robust_buffer_access.c | 98 nir_imm_int(b, c->s->info.shared_size & 0xfffffffc); in lower_shared()
|
H A D | vir.c | 840 prog_data->shared_size = c->s->info.shared_size; in v3d_cs_set_prog_data()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
H A D | pan_job.h | 117 unsigned shared_size; member
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_instruction_selection_setup.cpp | 281 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_vs_variables() 297 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_gs_variables() 325 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_tes_variables() 337 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_ms_variables() 351 DIV_ROUND_UP(nir->info.shared_size, ctx->program->dev.lds_encoding_granule); in setup_variables()
|
/third_party/mesa3d/src/microsoft/clc/ |
H A D | clc_compiler.c | 1141 nir->info.shared_size = align(nir->info.shared_size, alignment); in clc_spirv_to_dxil() 1142 metadata->args[i].localptr.sharedmem_offset = nir->info.shared_size; in clc_spirv_to_dxil() 1143 nir->info.shared_size += size; in clc_spirv_to_dxil() 1146 metadata->local_mem_size = nir->info.shared_size; in clc_spirv_to_dxil()
|
/third_party/mesa3d/src/compiler/ |
H A D | shader_info.h | 222 unsigned shared_size; member
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_compute.c | 244 sel->info.base.shared_size = cso->req_local_mem; in si_create_compute_state() 530 lds_blocks += align(program->sel.info.base.shared_size, 256) >> 8; in si_switch_compute_shader() 532 lds_blocks += align(program->sel.info.base.shared_size, 512) >> 9; in si_switch_compute_shader() 681 dispatch.group_segment_size = util_cpu_to_le32(program->sel.info.base.shared_size); in si_setup_user_sgprs_co_v2()
|
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_shader.c | 304 info->wls_size = s->info.shared_size; in pan_shader_compile()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_jit.h | 454 uint32_t shared_size; member 499 lp_build_struct_get_ptr(_gallivm, _ptr, LP_JIT_CS_CTX_SHARED_SIZE, "shared_size")
|
H A D | lp_jit.c | 492 LP_CHECK_MEMBER_OFFSET(struct lp_jit_cs_context, shared_size, in lp_jit_create_cs_types()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_pipeline.c | 774 nir->info.shared_size > 0) { in anv_pipeline_lower_nir() 780 const unsigned shared_size = ALIGN(nir->info.shared_size, chunk_size); in anv_pipeline_lower_nir() local 781 assert(shared_size <= in anv_pipeline_lower_nir() 782 intel_calculate_slm_size(compiler->devinfo->ver, nir->info.shared_size)); in anv_pipeline_lower_nir() 785 shared_size, chunk_size); in anv_pipeline_lower_nir()
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_kernel.c | 399 nir->info.shared_size = 0; in brw_kernel_from_spirv()
|
H A D | brw_mesh.cpp | 207 prog_data->base.base.total_shared = nir->info.shared_size; in brw_compile_task() 696 prog_data->base.base.total_shared = nir->info.shared_size; in brw_compile_mesh()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_glsl_to_nir.cpp | 733 if (prog->nir->info.shared_size > ctx->Const.MaxComputeSharedMemorySize) { in st_link_nir() 735 prog->nir->info.shared_size, in st_link_nir()
|
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_shader.c | 1025 if (nir->info.zero_initialize_shared_memory && nir->info.shared_size > 0) { in radv_shader_spirv_to_nir() 1027 const unsigned shared_size = ALIGN(nir->info.shared_size, chunk_size); in radv_shader_spirv_to_nir() local 1028 NIR_PASS(_, nir, nir_zero_initialize_shared_memory, shared_size, chunk_size); in radv_shader_spirv_to_nir() 1344 ngg_stage->info.ngg_info.esgs_ring_size = nir->info.shared_size; in radv_lower_ngg()
|
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_shader.h | 574 unsigned shared_size; member
|
H A D | ir3.c | 225 unsigned shared_per_wg = ALIGN_POT(v->shared_size, 1024); in ir3_get_reg_independent_max_waves()
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_nir_lower_ngg.c | 1546 shader->info.shared_size = state.total_lds_bytes; in ac_nir_lower_ngg_nogs() 2053 shader->info.shared_size = total_lds_bytes; in ac_nir_lower_ngg_gs() 3019 ms_calculate_output_layout(shader->info.shared_size, per_vertex_outputs, per_primitive_outputs, in ac_nir_lower_ngg_ms() 3022 shader->info.shared_size = layout.lds.total_size; in ac_nir_lower_ngg_ms()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3dx_draw.c | 1442 if (v3d->prog.compute->prog_data.compute->shared_size) { in v3d_launch_grid() 1445 v3d->prog.compute->prog_data.compute->shared_size * in v3d_launch_grid()
|