The GitHub Actions job "Lint" on tvm.git/tvm-dev/2026-07-10-fix-cuda-build has 
failed.
Run started by GitHub user MasterJH5574 (triggered by MasterJH5574).

Head commit for run:
c9e4b2acec816c32c371aa1ce679c3ddebd36df8 / Ruihang Lai <[email protected]>
[Runtime] Fix CUDA build breaks in fp8 cutlass and thrust

The fp8 group-wise scaled GEMM kernels passed a braced DLDataType
initializer as the second argument of the two-argument
TVM_FFI_ICHECK_EQ macro (e.g. TVM_FFI_ICHECK_EQ(a->dtype,
DLDataType{kDLFloat8_e4m3fn, 8, 1})). The preprocessor ignores brace
grouping and splits on the commas inside {...}, so it sees four
arguments and fails to compile. Wrap the initializer in parentheses
so it is treated as a single macro argument.

thrust.cu calls args[i].cast<DLTensor*>() but did not include
<tvm/ffi/container/tensor.h>, which defines TypeTraits<DLTensor*>;
without it the cast fails template deduction. Add the include.

Both issues break the CUDA runtime build; with them fixed it compiles
cleanly with USE_CUTLASS and USE_THRUST enabled.

Report URL: https://github.com/apache/tvm/actions/runs/29121876371

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to