Lines Matching refs:num_waves
34 #define SMEM_WINDOW_SIZE (350 - ctx.num_waves * 35)
35 #define VMEM_WINDOW_SIZE (1024 - ctx.num_waves * 64)
37 #define SMEM_MAX_MOVES (64 - ctx.num_waves * 4)
38 #define VMEM_MAX_MOVES (256 - ctx.num_waves * 16)
40 #define VMEM_CLAUSE_MAX_GRAB_DIST (ctx.num_waves * 2)
125 int16_t num_waves; member
678 if (candidate->isVMEM() && (cursor.insert_idx - cursor.source_idx > (ctx.num_waves * 4) || in schedule_SMEM()
780 ctx.last_SMEM_stall = 10 - ctx.num_waves - k; in schedule_SMEM()
1062 if (program->num_waves <= 5 * wave_fac) in schedule_program()
1063 ctx.num_waves = program->num_waves; in schedule_program()
1065 ctx.num_waves = 5 * wave_fac; in schedule_program()
1067 ctx.num_waves = 6 * wave_fac; in schedule_program()
1069 ctx.num_waves = 7 * wave_fac; in schedule_program()
1070 ctx.num_waves = std::max<uint16_t>(ctx.num_waves, program->min_waves); in schedule_program()
1071 ctx.num_waves = std::min<uint16_t>(ctx.num_waves, program->num_waves); in schedule_program()
1074 ctx.num_waves = std::max<uint16_t>(ctx.num_waves / wave_fac, 1); in schedule_program()
1076 assert(ctx.num_waves > 0); in schedule_program()
1077 ctx.mv.max_registers = {int16_t(get_addr_vgpr_from_waves(program, ctx.num_waves * wave_fac) - 2), in schedule_program()
1078 int16_t(get_addr_sgpr_from_waves(program, ctx.num_waves * wave_fac))}; in schedule_program()
1103 int prev_num_waves = program->num_waves; in schedule_program()
1121 assert(program->num_waves == prev_num_waves); in schedule_program()