Use clang format 18 in pr-test-sgl-kernel.yml (#4203)

This commit is contained in:
Lianmin Zheng
2025-03-08 01:28:10 -08:00
committed by GitHub
parent 0fe7c13be1
commit 8d323e95e4
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ jobs:
with:
source: sgl-kernel
extensions: h,c,cpp,hpp,cu,cuh,cc
clangFormatVersion: 16
clangFormatVersion: 18
style: file
build-wheels:

View File

@@ -94,7 +94,7 @@ inline int getSMVersion() {
#define DISPATCH_INTEGRAL_TYPES(TYPE, NAME, ...) \
AT_DISPATCH_SWITCH(TYPE, NAME, DISPATCH_CASE_INTEGRAL_TYPES(__VA_ARGS__))
#define CEILDIV(x, y) (((x) + (y)-1) / (y))
#define CEILDIV(x, y) (((x) + (y) - 1) / (y))
#define WARP_SIZE 32
#ifndef USE_ROCM