Home
last modified time | relevance | path

Searched refs:scratch_bytes_per_wave (Results 1 – 14 of 14) sorted by relevance

/external/mesa3d/src/amd/common/
Dac_binary.h47 unsigned scratch_bytes_per_wave; member
Dac_binary.c126 conf->scratch_bytes_per_wave = G_00B860_WAVESIZE(scratch_size) * 256 * 4; in ac_parse_shader_binary_config()
Dac_rtld.c530 config->scratch_bytes_per_wave = in ac_rtld_read_config()
531 MAX2(config->scratch_bytes_per_wave, c.scratch_bytes_per_wave); in ac_rtld_read_config()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_compute.c105 out_config->scratch_bytes_per_wave = in code_object_to_config()
190 bool scratch_enabled = shader->config.scratch_bytes_per_wave > 0; in si_create_compute_state_async()
414 scratch_needed = config->scratch_bytes_per_wave * sctx->scratch_waves; in si_setup_compute_scratch_buffer()
491 sctx->scratch_waves, config->scratch_bytes_per_wave, in si_switch_compute_shader()
492 config->scratch_bytes_per_wave * sctx->scratch_waves); in si_switch_compute_shader()
522 MAX2(sctx->max_seen_compute_scratch_bytes_per_wave, config->scratch_bytes_per_wave); in si_switch_compute_shader()
530 sctx->cs_shader_state.uses_scratch = config->scratch_bytes_per_wave != 0; in si_switch_compute_shader()
Dsi_state_shaders.c503 S_00B52C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); in si_shader_ls()
529 S_00B42C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); in si_shader_hs()
540 S_00B42C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); in si_shader_hs()
622 S_00B32C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); in si_shader_es()
877 S_00B22C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); in si_shader_gs()
916 S_00B22C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); in si_shader_gs()
1156 S_00B22C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0) | in gfx10_shader_ngg()
1463 S_00B12C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0); in si_shader_vs()
1689 S_00B32C_SCRATCH_EN(shader->config.scratch_bytes_per_wave > 0)); in si_shader_ps()
3571 if (shader->config.scratch_bytes_per_wave == 0) in si_update_scratch_buffer()
[all …]
Dsi_shader.c1036 conf->lds_size, conf->scratch_bytes_per_wave, shader->info.max_simd_waves, in si_shader_dump_stats_for_shader_db()
1068 conf->lds_size, conf->scratch_bytes_per_wave, shader->info.max_simd_waves); in si_shader_dump_stats()
1962 if (shader->config.scratch_bytes_per_wave && !si_is_merged_shader(shader)) in si_compile_shader()
2541 shader->config.scratch_bytes_per_wave = in si_create_shader_variant()
2542 MAX2(shader->config.scratch_bytes_per_wave, in si_create_shader_variant()
2543 shader->previous_stage->config.scratch_bytes_per_wave); in si_create_shader_variant()
Dsi_compute_prim_discard.c900 sctx->cs_prim_discard_state.current->config.scratch_bytes_per_wave == 0; in si_shader_select_prim_discard_cs()
1371 assert(shader->config.scratch_bytes_per_wave == 0); in si_dispatch_prim_discard_cs_and_draw()
Dsi_shader_llvm_gs.c545 if (!ctx.shader->config.scratch_bytes_per_wave) in si_generate_gs_copy_shader()
/external/mesa3d/src/amd/compiler/
Daco_spill.cpp1567 …bool add_offset_to_sgpr = ctx.program->config->scratch_bytes_per_wave / ctx.program->wave_size + v… in assign_spill_slots()
1568 …gned base_offset = add_offset_to_sgpr ? 0 : ctx.program->config->scratch_bytes_per_wave / ctx.prog… in assign_spill_slots()
1572 … unsigned offset = add_offset_to_sgpr ? ctx.program->config->scratch_bytes_per_wave : 0; in assign_spill_slots()
1639 …bool add_offset_to_sgpr = ctx.program->config->scratch_bytes_per_wave / ctx.program->wave_size + v… in assign_spill_slots()
1640 …gned base_offset = add_offset_to_sgpr ? 0 : ctx.program->config->scratch_bytes_per_wave / ctx.prog… in assign_spill_slots()
1644 … unsigned offset = add_offset_to_sgpr ? ctx.program->config->scratch_bytes_per_wave : 0; in assign_spill_slots()
1707 …ctx.program->config->scratch_bytes_per_wave += align(vgpr_spill_slots * 4 * ctx.program->wave_size… in assign_spill_slots()
Daco_instruction_selection_setup.cpp1171 ctx.program->config->scratch_bytes_per_wave = align(scratch_size * ctx.program->wave_size, 1024); in setup_isel_context()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c235 unsigned scratch_bytes_per_wave = 0; in radv_pipeline_init_scratch() local
241 pipeline->shaders[i]->config.scratch_bytes_per_wave) { in radv_pipeline_init_scratch()
244 scratch_bytes_per_wave = MAX2(scratch_bytes_per_wave, in radv_pipeline_init_scratch()
245 pipeline->shaders[i]->config.scratch_bytes_per_wave); in radv_pipeline_init_scratch()
261 pipeline->scratch_bytes_per_wave = scratch_bytes_per_wave; in radv_pipeline_init_scratch()
5752 s->value.u64 = shader->config.scratch_bytes_per_wave; in radv_GetPipelineExecutableStatisticsKHR()
Dradv_shader.c870 bool scratch_enabled = config_in->scratch_bytes_per_wave > 0; in radv_postprocess_config()
1620 statistics.resourceUsage.scratchMemUsageInBytes = conf->scratch_bytes_per_wave; in radv_GetShaderInfoAMD()
Dradv_private.h1763 unsigned scratch_bytes_per_wave; member
Dradv_cmd_buffer.c1272 pipeline->scratch_bytes_per_wave); in radv_emit_graphics_pipeline()
4201 pipeline->scratch_bytes_per_wave); in radv_emit_compute_pipeline()