未验证 提交 0c2ab714 编写于 作者: G gouzil 提交者: GitHub

[tests]mv fluid benchmark to tests (#53426)

* [tests]mv fluid benchmark to tests

* [test]Add placeholder

* [test]Add placeholder
上级 77570874
...@@ -194,7 +194,6 @@ if (WITH_PYTHON) ...@@ -194,7 +194,6 @@ if (WITH_PYTHON)
endif() endif()
set(GLOB_OP_LIB ${OP_LIBRARY} CACHE INTERNAL "Global OP library") set(GLOB_OP_LIB ${OP_LIBRARY} CACHE INTERNAL "Global OP library")
add_subdirectory(benchmark)
cc_test_old(op_debug_string_test SRCS op_debug_string_test.cc DEPS elementwise_add_op ${COMMON_OP_DEPS}) cc_test_old(op_debug_string_test SRCS op_debug_string_test.cc DEPS elementwise_add_op ${COMMON_OP_DEPS})
......
add_subdirectory(benchmark)
if(WITH_CINN) if(WITH_CINN)
add_subdirectory(cinn) add_subdirectory(cinn)
endif() endif()
# add_subdirectory(controlflow)
# add_subdirectory(detection)
# add_subdirectory(dlnne)
# add_subdirectory(elementwise)
# add_subdirectory(fused)
# if(WITH_LITE)
# add_subdirectory(lite)
# endif()
# add_subdirectory(math)
# if(WITH_MKLDNN)
# add_subdirectory(mkldnn)
# endif()
# add_subdirectory(nccl)
# if(WITH_PSCORE)
# add_subdirectory(pscore)
# endif()
# add_subdirectory(prim_ops)
# add_subdirectory(reduce_ops)
# add_subdirectory(tensorrt)
...@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. */ limitations under the License. */
#include "paddle/fluid/operators/benchmark/op_tester.h" #include "test/cpp/fluid/benchmark/op_tester.h"
#include <fstream> #include <fstream>
......
...@@ -21,8 +21,8 @@ limitations under the License. */ ...@@ -21,8 +21,8 @@ limitations under the License. */
#include "paddle/fluid/framework/op_desc.h" #include "paddle/fluid/framework/op_desc.h"
#include "paddle/fluid/framework/operator.h" #include "paddle/fluid/framework/operator.h"
#include "paddle/fluid/operators/benchmark/op_tester_config.h"
#include "paddle/phi/core/ddim.h" #include "paddle/phi/core/ddim.h"
#include "test/cpp/fluid/benchmark/op_tester_config.h"
namespace paddle { namespace paddle {
namespace operators { namespace operators {
......
...@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ...@@ -12,7 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and See the License for the specific language governing permissions and
limitations under the License. */ limitations under the License. */
#include "paddle/fluid/operators/benchmark/op_tester_config.h" #include "test/cpp/fluid/benchmark/op_tester_config.h"
#include <fstream> #include <fstream>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册