add ace support

This commit is contained in:
Harald Forbert 2024-11-19 14:58:56 +01:00 committed by hforbert
parent 8c713d5949
commit 1513aefda2
32 changed files with 5321 additions and 68 deletions

View file

@ -208,6 +208,9 @@ def process_file(fn: str, allow_modifications: bool) -> None:
if fn.endswith("/torch_c_api.cpp"):
# Begrudgingly tolerated because PyTorch has no C API.
run_remote_tool("clangformat", fn)
elif fn.endswith("/ace_c_api.cpp"):
# same as PyTorch
run_remote_tool("clangformat", fn)
else:
raise Exception(f"C++ is not supported.")