6148e03bc76aba46f043aae2bde10c3061cfd07a
Random CCCL pick: thrust/examples/bucket_sort2d.cu (108 lines, full read) Maps to: vllm/core/evictor_v2.py (LRU cache eviction) bucket_sort2d.cu pattern: transform→sort_by_key→lower_bound/upper_bound - point_to_bucket_index ↔ content_hash (prefix cache key) - sort_by_key ↔ eviction priority ordering - lower_bound/upper_bound ↔ block range lookup Current LRUEvictor.evict() is O(n) linear scan over OrderedDict. CCCL pattern suggests sort_by_key → O(1) pop for production scale. For competition (max_num_seqs=1, bounded blocks): current is sufficient. Also read: vllm/core/block/prefix_caching_block.py (200 lines)
project_6
Description
Languages
C++
41.8%
Cuda
31.6%
Python
22.2%
C
2.1%
CMake
1.1%
Other
1.1%