/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_debug.c | 883 * those that are being executed right now with information about waves that 886 static void si_print_annotated_shader(struct si_shader *shader, struct ac_wave_info *waves, in si_print_annotated_shader() argument 900 if (start_addr <= waves[i].pc && waves[i].pc <= end_addr) in si_print_annotated_shader() 906 /* Remember the first found wave. The waves are sorted according to PC. */ in si_print_annotated_shader() 907 waves = &waves[i]; in si_print_annotated_shader() 944 /* Print which waves execute the instruction right now. */ in si_print_annotated_shader() 945 while (num_waves && inst->addr == waves->pc) { in si_print_annotated_shader() 949 waves in si_print_annotated_shader() 971 struct ac_wave_info waves[AC_MAX_WAVES_PER_CHIP]; si_dump_annotated_shaders() local [all...] |
/third_party/mesa3d/src/amd/vulkan/ |
H A D | radv_debug.c | 302 struct ac_wave_info *waves, unsigned num_waves, FILE *f) in radv_dump_annotated_shader() 315 if (start_addr <= waves[i].pc && waves[i].pc <= end_addr) in radv_dump_annotated_shader() 322 /* Remember the first found wave. The waves are sorted according to PC. */ in radv_dump_annotated_shader() 323 waves = &waves[i]; in radv_dump_annotated_shader() 344 /* Print which waves execute the instruction right now. */ in radv_dump_annotated_shader() 345 while (num_waves && start_addr + inst->offset == waves->pc) { in radv_dump_annotated_shader() 349 waves->se, waves in radv_dump_annotated_shader() 301 radv_dump_annotated_shader(struct radv_shader *shader, gl_shader_stage stage, struct ac_wave_info *waves, unsigned num_waves, FILE *f) radv_dump_annotated_shader() argument 371 struct ac_wave_info waves[AC_MAX_WAVES_PER_CHIP]; radv_dump_annotated_shaders() local [all...] |
H A D | radv_device.c | 3534 /* The maximum number of scratch waves. Scratch space isn't divided in radv_CreateDevice() 3554 * allow launching waves out-of-order. in radv_CreateDevice() 4200 uint32_t size_per_wave, uint32_t waves, in radv_emit_graphics_scratch() 4214 waves /= info->num_se; in radv_emit_graphics_scratch() 4217 radeon_emit(cs, S_0286E8_WAVES(waves) | S_0286E8_WAVESIZE(round_up_u32(size_per_wave, 256))); in radv_emit_graphics_scratch() 4223 S_0286E8_WAVES(waves) | S_0286E8_WAVESIZE(round_up_u32(size_per_wave, 1024))); in radv_emit_graphics_scratch() 4229 uint32_t size_per_wave, uint32_t waves, in radv_emit_compute_scratch() 4254 waves /= info->num_se; in radv_emit_compute_scratch() 4262 S_00B860_WAVES(waves) | in radv_emit_compute_scratch() 4199 radv_emit_graphics_scratch(struct radv_device *device, struct radeon_cmdbuf *cs, uint32_t size_per_wave, uint32_t waves, struct radeon_winsys_bo *scratch_bo) radv_emit_graphics_scratch() argument 4228 radv_emit_compute_scratch(struct radv_device *device, struct radeon_cmdbuf *cs, uint32_t size_per_wave, uint32_t waves, struct radeon_winsys_bo *compute_scratch_bo) radv_emit_compute_scratch() argument
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_live_var_analysis.cpp | 345 get_addr_sgpr_from_waves(Program* program, uint16_t waves) in get_addr_sgpr_from_waves() argument 348 uint16_t sgprs = std::min(program->dev.physical_sgprs / waves, 128); in get_addr_sgpr_from_waves() 355 get_addr_vgpr_from_waves(Program* program, uint16_t waves) in get_addr_vgpr_from_waves() argument 357 uint16_t vgprs = program->dev.physical_vgprs / waves & ~(program->dev.vgpr_alloc_granule - 1); in get_addr_vgpr_from_waves() 371 max_suitable_waves(Program* program, uint16_t waves) in max_suitable_waves() argument 375 unsigned num_workgroups = waves * num_simd / waves_per_workgroup; in max_suitable_waves() 382 /* PS inputs are moved from PC (parameter cache) to LDS before PS waves are launched. in max_suitable_waves() 398 /* Adjust #waves for workgroup multiples: in max_suitable_waves() 400 * waves_per_workgroup=1, we want the maximum possible number of waves per in max_suitable_waves() 461 /* calculate the program's register demand and number of waves */ in live_var_analysis() [all...] |
H A D | aco_ir.h | 2287 uint16_t max_suitable_waves(Program* program, uint16_t waves);
|
/third_party/ffmpeg/libavcodec/ |
H A D | atrac3plus.c | 1427 iwav = &ctx->waves_info->waves[dst[sb].start_index]; in decode_tones_frequency() 1452 iwav = &ctx->waves_info->waves[ref[sb].start_index]; in decode_tones_frequency() 1453 owav = &ctx->waves_info->waves[dst[sb].start_index]; in decode_tones_frequency() 1488 wsrc = &ctx->waves_info->waves[dst[sb].start_index]; in decode_tones_amplitude() 1489 wref = &ctx->waves_info->waves[ref[sb].start_index]; in decode_tones_amplitude() 1518 ctx->waves_info->waves[dst[sb].start_index + i].amp_sf = get_bits(gb, 6); in decode_tones_amplitude() 1520 ctx->waves_info->waves[dst[sb].start_index].amp_sf = get_bits(gb, 6); in decode_tones_amplitude() 1529 ctx->waves_info->waves[dst[sb].start_index + i].amp_sf = in decode_tones_amplitude() 1533 ctx->waves_info->waves[dst[sb].start_index].amp_sf = in decode_tones_amplitude() 1547 ctx->waves_info->waves[refwave in decode_tones_amplitude() [all...] |
H A D | atrac3plus.h | 66 /** Amplitude envelope of a group of sine waves */ 74 /** Parameters of a group of sine waves */ 78 int num_wavs; ///< number of sine waves in the group 129 Atrac3pWaveParam waves[48]; member 150 Atrac3pWaveSynthParams wave_synth_hist[2]; ///< waves synth history for two frames 184 * Initialize sine waves synthesizer and ff_sine_* tables. 189 * Synthesize sine waves for a particular subband.
|
H A D | atrac3plusdsp.c | 117 * Synthesize sine waves according to given parameters. 121 * @param[in] envelope envelope data for all waves in a group 135 Atrac3pWaveParam *wave_param = &synth_param->waves[waves_info->start_index]; in waves_synth() 225 /* synthesize waves for both overlapping regions */ in ff_atrac3p_generate_tones()
|
/third_party/mesa3d/src/amd/common/ |
H A D | ac_debug.h | 73 struct ac_wave_info waves[AC_MAX_WAVES_PER_CHIP]);
|
H A D | ac_debug.c | 785 /* Sort waves according to PC and then SE, SH, CU, etc. */ in compare_wave() 814 /* Return wave information. "waves" should be a large enough array. */ 816 struct ac_wave_info waves[AC_MAX_WAVES_PER_CHIP]) in ac_get_wave_info() 840 w = &waves[num_waves]; in ac_get_wave_info() 852 qsort(waves, num_waves, sizeof(struct ac_wave_info), compare_wave); in ac_get_wave_info() 815 ac_get_wave_info(enum amd_gfx_level gfx_level, struct ac_wave_info waves[AC_MAX_WAVES_PER_CHIP]) ac_get_wave_info() argument
|
/third_party/mesa3d/src/freedreno/computerator/examples/ |
H A D | test-regfile.sh | 5 # saturated with in-flight waves. Each thread records its wave id using "getwid" 9 # 1. The total number of waves available (always 16 for known models) 10 # 2. The wave granularity (how many waves are always launched together, always 2 12 # 3. The total size of the register file that is divvied up between the waves. 25 ; busy loop to make sure it actually uses all possible waves
|