Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hopper/tile_scheduler.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ class VarlenDynamicPersistentTileScheduler {
// If Split, for the purpose of scheduling, we pretend that instead there are
// (args.num_splits * args.num_head) number of heads.
assert(args.tile_count_semaphore != nullptr);
assert(num_head < (1 << 16)); // We use the top 16 bits to store num_splits & split_idx
assert(args.num_head < (1 << 16)); // We use the top 16 bits to store num_splits & split_idx
assert(!Split || args.num_splits < (1 << 8)); // We use the top 8 bits to store num_splits
return {args.num_head, args.num_batch,
args.qhead_per_khead, args.seqlen,
Expand Down