Skip to content

Commit

Permalink
clang format one more try
Browse files Browse the repository at this point in the history
  • Loading branch information
Aleksandr Malyshev authored and maleksan85 committed Aug 15, 2024
1 parent 0458e44 commit f4d57eb
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions csrc/custom/paged_attention/attention_ll4mi.cu
Original file line number Diff line number Diff line change
Expand Up @@ -897,7 +897,9 @@ __global__ __launch_bounds__(NUM_THREADS) void paged_attention_ll4mi_QKV_kernel(
#if 0
scalar_t* __restrict__ qk_out, // [num_heads, num_seqs, max_ctx_blocks,block_size]
#endif
int max_ctx_blocks){UNREACHABLE_CODE}
int max_ctx_blocks) {
UNREACHABLE_CODE
}

// Grid: (num_heads, num_seqs).
template <typename scalar_t, int HEAD_SIZE, int NUM_THREADS,
Expand All @@ -912,7 +914,9 @@ __launch_bounds__(NUM_THREADS) void paged_attention_ll4mi_reduce_kernel(
const scalar_t* __restrict__ tmp_out, // [num_seqs, num_heads,
// max_num_partitions, head_size]
const int* __restrict__ context_lens, // [num_seqs]
const int max_num_partitions){UNREACHABLE_CODE}
const int max_num_partitions) {
UNREACHABLE_CODE
}

#endif // defined(__HIP__MI300_MI250__) TODO: Add NAVI support

Expand Down

0 comments on commit f4d57eb

Please sign in to comment.