forked from PaddlePaddle/Paddle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4a22b4
commit a60eb1f
Showing
2 changed files
with
47 additions
and
45 deletions.
There are no files selected for viewing
90 changes: 46 additions & 44 deletions
90
paddle/fluid/eager/tests/performance_tests/CMakeLists.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,48 @@ | ||
cc_library( | ||
performance_benchmark_utils | ||
SRCS benchmark_utils.cc | ||
DEPS ${eager_deps} | ||
${fluid_deps} | ||
${generated_deps} | ||
eager_scale | ||
scale_node | ||
scale_op | ||
matmul_v2_op | ||
dygraph_function | ||
eager_prim_api) | ||
if(NOT (NOT WITH_PYTHON AND ON_INFER)) | ||
cc_library( | ||
performance_benchmark_utils | ||
SRCS benchmark_utils.cc | ||
DEPS ${eager_deps} | ||
${fluid_deps} | ||
${generated_deps} | ||
eager_scale | ||
scale_node | ||
scale_op | ||
matmul_v2_op | ||
dygraph_function | ||
eager_prim_api) | ||
|
||
cc_test_old( | ||
test_egr_performance_benchmark_eager_cpu | ||
SRCS | ||
benchmark_eager_cpu.cc | ||
DEPS | ||
performance_benchmark_utils | ||
${eager_deps} | ||
${fluid_deps}) | ||
cc_test_old( | ||
test_egr_performance_benchmark_fluid_cpu | ||
SRCS | ||
benchmark_fluid_cpu.cc | ||
DEPS | ||
performance_benchmark_utils | ||
${eager_deps} | ||
${fluid_deps}) | ||
cc_test_old( | ||
test_egr_performance_benchmark_eager_cpu | ||
SRCS | ||
benchmark_eager_cpu.cc | ||
DEPS | ||
performance_benchmark_utils | ||
${eager_deps} | ||
${fluid_deps}) | ||
cc_test_old( | ||
test_egr_performance_benchmark_fluid_cpu | ||
SRCS | ||
benchmark_fluid_cpu.cc | ||
DEPS | ||
performance_benchmark_utils | ||
${eager_deps} | ||
${fluid_deps}) | ||
|
||
cc_test_old( | ||
test_egr_performance_benchmark_eager_cuda | ||
SRCS | ||
benchmark_eager_cuda.cc | ||
DEPS | ||
performance_benchmark_utils | ||
${eager_deps} | ||
${fluid_deps}) | ||
cc_test_old( | ||
test_egr_performance_benchmark_fluid_cuda | ||
SRCS | ||
benchmark_fluid_cuda.cc | ||
DEPS | ||
performance_benchmark_utils | ||
${eager_deps} | ||
${fluid_deps}) | ||
cc_test_old( | ||
test_egr_performance_benchmark_eager_cuda | ||
SRCS | ||
benchmark_eager_cuda.cc | ||
DEPS | ||
performance_benchmark_utils | ||
${eager_deps} | ||
${fluid_deps}) | ||
cc_test_old( | ||
test_egr_performance_benchmark_fluid_cuda | ||
SRCS | ||
benchmark_fluid_cuda.cc | ||
DEPS | ||
performance_benchmark_utils | ||
${eager_deps} | ||
${fluid_deps}) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters