Home
last modified time | relevance | path

Searched refs:lds_size (Results 1 – 12 of 12) sorted by relevance

/external/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.groupstaticgroup.ll11 define void @get_groupstaticsize_test0(float addrspace(1)* %out, i32 addrspace(1)* %lds_size) #0 {
15 store i32 %static_lds_size, i32 addrspace(1)* %lds_size, align 4
26 define void @groupstaticsize_test1(float addrspace(1)* %out, i32 %cond, i32 addrspace(1)* %lds_size
29 store i32 %static_lds_size, i32 addrspace(1)* %lds_size, align 4
/external/mesa3d/src/amd/common/
Dac_binary.c248 conf->lds_size = MAX2(conf->lds_size, G_00B02C_EXTRA_LDS_SIZE(value)); in ac_shader_binary_read_config()
251 conf->lds_size = MAX2(conf->lds_size, G_00B84C_LDS_SIZE(value)); in ac_shader_binary_read_config()
Dac_binary.h72 unsigned lds_size; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c109 unsigned perpatch_output_offset, lds_size, ls_rsrc2; in si_emit_derived_tess_state() local
183 lds_size = output_patch0_offset + output_patch_size * *num_patches; in si_emit_derived_tess_state()
187 assert(lds_size <= 65536); in si_emit_derived_tess_state()
188 lds_size = align(lds_size, 512) / 512; in si_emit_derived_tess_state()
190 assert(lds_size <= 32768); in si_emit_derived_tess_state()
191 lds_size = align(lds_size, 256) / 256; in si_emit_derived_tess_state()
193 si_multiwave_lds_size_workaround(sctx->screen, &lds_size); in si_emit_derived_tess_state()
194 ls_rsrc2 |= S_00B52C_LDS_SIZE(lds_size); in si_emit_derived_tess_state()
Dsi_shader.h469 unsigned lds_size; member
570 unsigned *lds_size);
Dsi_compute.c86 out_config->lds_size = MAX2(out_config->lds_size, G_00B84C_LDS_SIZE(rsrc2)); in code_object_to_config()
150 S_00B84C_LDS_SIZE(shader->config.lds_size); in si_create_compute_state()
341 lds_blocks = config->lds_size; in si_switch_compute_shader()
Dsi_shader.c5595 unsigned lds_size = ctx->screen->b.chip_class >= CIK ? 65536 : 32768; in declare_tess_lds() local
5597 LLVMPointerType(LLVMArrayType(ctx->i32, lds_size / 4), LOCAL_ADDR_SPACE), in declare_tess_lds()
6060 conf->lds_size = MAX2(conf->lds_size, G_00B02C_EXTRA_LDS_SIZE(value)); in si_shader_binary_read_config()
6063 conf->lds_size = MAX2(conf->lds_size, G_00B84C_LDS_SIZE(value)); in si_shader_binary_read_config()
6264 lds_per_wave = conf->lds_size * lds_increment + in si_shader_dump_stats()
6271 lds_per_wave = (conf->lds_size * lds_increment) / in si_shader_dump_stats()
6316 conf->lds_size, conf->scratch_bytes_per_wave, in si_shader_dump_stats()
6325 conf->lds_size, conf->scratch_bytes_per_wave, in si_shader_dump_stats()
8566 unsigned *lds_size) in si_multiwave_lds_size_workaround() argument
8575 *lds_size = MAX2(*lds_size, 8); in si_multiwave_lds_size_workaround()
[all …]
Dsi_state_shaders.c818 S_00B02C_EXTRA_LDS_SIZE(shader->config.lds_size) | in si_shader_ps()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c390 unsigned lds_size = shader->local_size / 4 + in evergreen_emit_dispatch() local
410 num_pipes, num_waves, lds_size); in evergreen_emit_dispatch()
428 assert(lds_size <= 8192); in evergreen_emit_dispatch()
432 assert(lds_size <= 8160); in evergreen_emit_dispatch()
436 lds_size | (num_waves << 14)); in evergreen_emit_dispatch()
Devergreen_state.c3686 unsigned output_patch0_offset, perpatch_output_offset, lds_size; in evergreen_setup_tess_constants() local
3736 lds_size = output_patch0_offset + output_patch_size * *num_patches; in evergreen_setup_tess_constants()
3752 rctx->lds_alloc = (lds_size | (num_waves << 14)); in evergreen_setup_tess_constants()
/external/llvm/lib/Target/AMDGPU/Utils/
DAMDKernelCodeTInfo.h115 COMPPGM2(lds_size, LDS_SIZE),
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c297 lds_per_wave = conf->lds_size * lds_increment + in radv_dump_pipeline_stats()
337 conf->lds_size, conf->scratch_bytes_per_wave, in radv_dump_pipeline_stats()
380 S_00B84C_LDS_SIZE(variant->config.lds_size); in radv_fill_shader_variant()