28b4701935ca3fe46ebdc6b5d4700365304ceb2a
Port dispatch_transform.cuh::spread_out_items_per_thread to both decode and prefill paths. Replace hardcoded _MAX_TILE_BLOCKS=1024 and static min(max_tile_tokens, 2048) with dynamic tile sizing: tile = ceil(num_items / target_tiles) tile = clamp(tile, min_tile, min(max_tile, memory_budget)) Decode: tile_blocks adapts 64-4096. Prefill: spread_out then memory-clamp. CCCL source: dispatch_transform.cuh spread_out_items_per_thread, grid_even_share.cuh DispatchInit.
project_6
Description
Languages
C++
41.8%
Cuda
31.6%
Python
22.2%
C
2.1%
CMake
1.1%
Other
1.1%