File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -945,8 +945,7 @@ rdim_bake(Arena *arena, RDIM_BakeParams *params)
945945 //- rjf: wide bake
946946 ProfScope ("wide bake" )
947947 {
948- U64 line_table_block_take_counter_ = 0 ;
949- U64 * line_table_block_take_counter = & line_table_block_take_counter_ ;
948+ U64 * line_table_block_take_counter = push_array (scratch .arena , U64 , 1 );
950949 lane_sync_u64 (& line_table_block_take_counter , 0 );
951950 U64 line_table_block_size = 4096 ;
952951 U64 line_table_block_count = (line_tables_count + line_table_block_size - 1 ) / line_table_block_size ;
@@ -2096,8 +2095,7 @@ rdim_bake(Arena *arena, RDIM_BakeParams *params)
20962095 RDIM_SortKey * * bake_src_line_map_keys = 0 ;
20972096 ProfScope ("sort line-bucketed src line map data" )
20982097 {
2099- U64 map_take_idx_ = 0 ;
2100- U64 * map_take_idx = & map_take_idx_ ;
2098+ U64 * map_take_idx = push_array (scratch .arena , U64 , 1 );
21012099 U64 map_count = params -> src_files .total_count ;
21022100 if (lane_idx () == 0 )
21032101 {
You can’t perform that action at this time.
0 commit comments