Unverified Commit 8d323e95 authored by Lianmin Zheng's avatar Lianmin Zheng Committed by GitHub
Browse files

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

parent 0fe7c13b
...@@ -27,7 +27,7 @@ jobs: ...@@ -27,7 +27,7 @@ jobs:
with: with:
source: sgl-kernel source: sgl-kernel
extensions: h,c,cpp,hpp,cu,cuh,cc extensions: h,c,cpp,hpp,cu,cuh,cc
clangFormatVersion: 16 clangFormatVersion: 18
style: file style: file
build-wheels: build-wheels:
......
...@@ -94,7 +94,7 @@ inline int getSMVersion() { ...@@ -94,7 +94,7 @@ inline int getSMVersion() {
#define DISPATCH_INTEGRAL_TYPES(TYPE, NAME, ...) \ #define DISPATCH_INTEGRAL_TYPES(TYPE, NAME, ...) \
AT_DISPATCH_SWITCH(TYPE, NAME, DISPATCH_CASE_INTEGRAL_TYPES(__VA_ARGS__)) 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 #define WARP_SIZE 32
#ifndef USE_ROCM #ifndef USE_ROCM
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment