Home
last modified time | relevance | path

Searched refs:lds_size (Results 1 – 17 of 17) 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/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AMDGPU/
Dllvm.amdgcn.groupstaticsize.ll12 …dgpu_kernel void @groupstaticsize_test0(float addrspace(1)* %out, i32 addrspace(1)* %lds_size) #0 {
16 store i32 %static_lds_size, i32 addrspace(1)* %lds_size, align 4
26 …nel 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.c257 conf->lds_size = MAX2(conf->lds_size, G_00B02C_EXTRA_LDS_SIZE(value)); in ac_shader_binary_read_config()
260 conf->lds_size = MAX2(conf->lds_size, G_00B84C_LDS_SIZE(value)); in ac_shader_binary_read_config()
Dac_binary.h73 unsigned lds_size; member
Dac_llvm_build.c1855 unsigned lds_size = ctx->chip_class >= CIK ? 65536 : 32768; in ac_declare_lds_as_pointer() local
1857 LLVMPointerType(LLVMArrayType(ctx->i32, lds_size / 4), AC_LOCAL_ADDR_SPACE), in ac_declare_lds_as_pointer()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_draw.c115 unsigned perpatch_output_offset, lds_size; in si_emit_derived_tess_state() local
244 lds_size = output_patch0_offset + output_patch_size * *num_patches; in si_emit_derived_tess_state()
247 assert(lds_size <= 65536); in si_emit_derived_tess_state()
248 lds_size = align(lds_size, 512) / 512; in si_emit_derived_tess_state()
250 assert(lds_size <= 32768); in si_emit_derived_tess_state()
251 lds_size = align(lds_size, 256) / 256; in si_emit_derived_tess_state()
261 S_00B42C_LDS_SIZE(lds_size); in si_emit_derived_tess_state()
275 si_multiwave_lds_size_workaround(sctx->screen, &lds_size); in si_emit_derived_tess_state()
276 ls_rsrc2 |= S_00B52C_LDS_SIZE(lds_size); in si_emit_derived_tess_state()
Dsi_shader.h559 unsigned lds_size; member
644 unsigned *lds_size);
Dsi_compute.c78 out_config->lds_size = MAX2(out_config->lds_size, G_00B84C_LDS_SIZE(rsrc2)); in code_object_to_config()
138 S_00B84C_LDS_SIZE(shader->config.lds_size); in si_create_compute_state_async()
395 lds_blocks = config->lds_size; in si_switch_compute_shader()
Dsi_shader.c5179 conf->lds_size = MAX2(conf->lds_size, G_00B02C_EXTRA_LDS_SIZE(value)); in si_shader_binary_read_config()
5182 conf->lds_size = MAX2(conf->lds_size, G_00B84C_LDS_SIZE(value)); in si_shader_binary_read_config()
5412 lds_per_wave = conf->lds_size * lds_increment + in si_shader_dump_stats()
5419 lds_per_wave = (conf->lds_size * lds_increment) / in si_shader_dump_stats()
5464 conf->lds_size, conf->scratch_bytes_per_wave, in si_shader_dump_stats()
5473 conf->lds_size, conf->scratch_bytes_per_wave, in si_shader_dump_stats()
7913 unsigned *lds_size) in si_multiwave_lds_size_workaround() argument
7922 *lds_size = MAX2(*lds_size, 8); in si_multiwave_lds_size_workaround()
7935 &shader->config.lds_size); in si_fix_resource_usage()
Dsi_state_shaders.c581 unsigned lds_size; member
679 out->lds_size = align(esgs_lds_size, 128) / 128; in gfx9_get_gs_info()
769 S_00B22C_LDS_SIZE(gs_info.lds_size) | in si_shader_gs()
1087 S_00B02C_EXTRA_LDS_SIZE(shader->config.lds_size) | in si_shader_ps()
/external/mesa3d/src/amd/vulkan/
Dradv_pipeline.c1292 pipeline->graphics.gs.lds_size = align(esgs_lds_size, 128) / 128; in calculate_gfx9_gs_info()
1344 unsigned *lds_size) in si_multiwave_lds_size_workaround() argument
1353 *lds_size = MAX2(*lds_size, 8); in si_multiwave_lds_size_workaround()
1383 unsigned lds_size, hardware_lds_size; in calculate_tess_state() local
1438 lds_size = output_patch0_offset + output_patch_size * num_patches; in calculate_tess_state()
1441 assert(lds_size <= 65536); in calculate_tess_state()
1442 lds_size = align(lds_size, 512) / 512; in calculate_tess_state()
1444 assert(lds_size <= 32768); in calculate_tess_state()
1445 lds_size = align(lds_size, 256) / 256; in calculate_tess_state()
1447 si_multiwave_lds_size_workaround(pipeline->device, &lds_size); in calculate_tess_state()
[all …]
Dradv_shader.c414 S_00B84C_LDS_SIZE(variant->config.lds_size); in radv_fill_shader_variant()
636 lds_per_wave = conf->lds_size * lds_increment + in generate_shader_stats()
672 conf->lds_size, conf->scratch_bytes_per_wave, in generate_shader_stats()
743 statistics.resourceUsage.ldsUsageSizeInBytes = conf->lds_size * lds_multiplier; in radv_GetShaderInfoAMD()
Dradv_private.h1185 unsigned lds_size; member
1194 uint32_t lds_size; member
Dradv_cmd_buffer.c784 rsrc2 |= S_00B52C_LDS_SIZE(cmd_buffer->state.pipeline->graphics.tess.lds_size); in radv_emit_hw_ls()
808 … S_00B42C_LDS_SIZE(cmd_buffer->state.pipeline->graphics.tess.lds_size)); in radv_emit_hw_hs()
956 S_00B22C_LDS_SIZE(pipeline->graphics.gs.lds_size)); in radv_emit_geometry_shader()
/external/mesa3d/src/gallium/drivers/r600/
Devergreen_compute.c584 unsigned lds_size = shader->local_size / 4; in evergreen_emit_dispatch() local
587 lds_size += shader->bc.nlds_dw; in evergreen_emit_dispatch()
605 num_pipes, num_waves, lds_size); in evergreen_emit_dispatch()
623 assert(lds_size <= 8192); in evergreen_emit_dispatch()
627 assert(lds_size <= 8160); in evergreen_emit_dispatch()
631 lds_size | (num_waves << 14)); in evergreen_emit_dispatch()
Devergreen_state.c4373 unsigned output_patch0_offset, perpatch_output_offset, lds_size; in evergreen_setup_tess_constants() local
4422 lds_size = output_patch0_offset + output_patch_size * *num_patches; in evergreen_setup_tess_constants()
4438 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),