This is an automated email from the ASF dual-hosted git repository.
tqchen pushed a commit to branch refactor-s0
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/refactor-s0 by this push:
new bff8baec00 fix lint and minor compile
bff8baec00 is described below
commit bff8baec0073e56a64a9c298ba2fb15fba012689
Author: tqchen <[email protected]>
AuthorDate: Mon Mar 10 20:59:54 2025 -0400
fix lint and minor compile
---
ffi/tests/cpp/test_string.cc | 2 +-
ffi/tests/cpp/testing_object.h | 2 +-
src/relax/backend/contrib/cutlass/codegen.cc | 2 +-
tests/lint/check_file_type.py | 3 +++
4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ffi/tests/cpp/test_string.cc b/ffi/tests/cpp/test_string.cc
index 04348292b7..7be184cafb 100644
--- a/ffi/tests/cpp/test_string.cc
+++ b/ffi/tests/cpp/test_string.cc
@@ -263,4 +263,4 @@ TEST(String, Concat) {
EXPECT_EQ(res4.compare("helloworld"), 0);
EXPECT_EQ(res5.compare("worldhello"), 0);
}
-} // namespace
\ No newline at end of file
+} // namespace
diff --git a/ffi/tests/cpp/testing_object.h b/ffi/tests/cpp/testing_object.h
index cd6055ec1f..daba742c74 100644
--- a/ffi/tests/cpp/testing_object.h
+++ b/ffi/tests/cpp/testing_object.h
@@ -88,4 +88,4 @@ class TFloat : public TNumber {
} // namespace testing
} // namespace ffi
} // namespace tvm
-#endif // TVM_FFI_TESTING_OBJECT_H_
\ No newline at end of file
+#endif // TVM_FFI_TESTING_OBJECT_H_
diff --git a/src/relax/backend/contrib/cutlass/codegen.cc
b/src/relax/backend/contrib/cutlass/codegen.cc
index 980243cf81..7a2c8339e2 100644
--- a/src/relax/backend/contrib/cutlass/codegen.cc
+++ b/src/relax/backend/contrib/cutlass/codegen.cc
@@ -95,7 +95,7 @@ class CodegenResult : public ObjectRef {
data_ = std::move(n);
}
- TVM_DEFINE_OBJECT_REF_METHODS(CodegenResult, ObjectRef, CodegenResultNode)
+ TVM_DEFINE_OBJECT_REF_METHODS(CodegenResult, ObjectRef, CodegenResultNode);
};
TVM_REGISTER_NODE_TYPE(CodegenResultNode);
diff --git a/tests/lint/check_file_type.py b/tests/lint/check_file_type.py
index 119cc2ea78..a567664788 100644
--- a/tests/lint/check_file_type.py
+++ b/tests/lint/check_file_type.py
@@ -175,6 +175,9 @@ def filename_allowed(name):
if name.startswith("3rdparty"):
return True
+ if name.startswith("ffi/3rdparty"):
+ return True
+
if name in ALLOW_SPECIFIC_FILE:
return True