From a1da4f2fda44f8513016ab0409b315bb360592c1 Mon Sep 17 00:00:00 2001 From: ronnywang Date: Mon, 8 Aug 2022 14:14:09 +0800 Subject: [PATCH] [CustomDevice] custom_runtime unittests are tested only on ci-py3 (#44906) --- python/paddle/fluid/tests/custom_runtime/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/custom_runtime/CMakeLists.txt b/python/paddle/fluid/tests/custom_runtime/CMakeLists.txt index 8056f468958..b825805bdf9 100644 --- a/python/paddle/fluid/tests/custom_runtime/CMakeLists.txt +++ b/python/paddle/fluid/tests/custom_runtime/CMakeLists.txt @@ -1,4 +1,4 @@ -if(WITH_CUSTOM_DEVICE) +if(WITH_CUSTOM_DEVICE AND NOT WITH_GPU) file( GLOB TEST_OPS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" -- GitLab