Skip to content

Commit

Permalink
[SOT] rewrite eval frame in C-lang (#57653)
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo authored Sep 23, 2023
1 parent 89c2952 commit 9985598
Show file tree
Hide file tree
Showing 7 changed files with 709 additions and 655 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ repos:
description: Check C++ code style using cpplint.py.
entry: bash ./tools/codestyle/cpplint_pre_commit.hook
language: system
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx)$
files: \.(cc|cxx|cpp|cu|h|hpp|hxx)$
args:
- --extensions=c,cc,cxx,cpp,cu,cuh,h,hpp,hxx,kps
- --extensions=cc,cxx,cpp,cu,cuh,h,hpp,hxx,kps
- --filter=-readability/fn_size,-build/include_what_you_use,-build/c++11,-whitespace/parens
- --quiet
# Exclude third-party libraries
Expand Down
3 changes: 2 additions & 1 deletion paddle/fluid/pybind/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ set(PYBIND_SRCS
custom_device_py.cc
xpu_streams_py.cc
jit.cc
auto_parallel_py.cc)
auto_parallel_py.cc
eval_frame.c)

if(WITH_CUSTOM_DEVICE)
set(PYBIND_DEPS ${PYBIND_DEPS} custom_device_common_op_registry)
Expand Down
Loading

0 comments on commit 9985598

Please # to comment.