未验证 提交 a445466f 编写于 作者: Z Zheng-Bicheng 提交者: GitHub

[Move Test] Move prim cpp (#52173)

* update

* update

* update
上级 13b12457
add_subdirectory(api) add_subdirectory(api)
add_subdirectory(utils) add_subdirectory(utils)
add_subdirectory(tests)
set(static_prim_deps prim_utils static_global_utils static_utils set(static_prim_deps prim_utils static_global_utils static_utils
static_prim_api) static_prim_api)
set(eager_prim_deps prim_utils eager_prim_api) set(eager_prim_deps prim_utils eager_prim_api)
add_subdirectory(phi) add_subdirectory(phi)
add_subdirectory(jit) add_subdirectory(jit)
add_subdirectory(new_executor) add_subdirectory(new_executor)
add_subdirectory(prim)
add_subdirectory(imperative) add_subdirectory(imperative)
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
// 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/prim/tests/init_env_utils.h" #include "test/cpp/prim/init_env_utils.h"
#include "paddle/fluid/prim/utils/eager/eager_tensor_operants.h" #include "paddle/fluid/prim/utils/eager/eager_tensor_operants.h"
#include "paddle/fluid/prim/utils/static/static_tensor_operants.h" #include "paddle/fluid/prim/utils/static/static_tensor_operants.h"
#include "paddle/phi/api/include/operants_manager.h" #include "paddle/phi/api/include/operants_manager.h"
......
...@@ -21,11 +21,11 @@ ...@@ -21,11 +21,11 @@
#include "paddle/fluid/eager/api/utils/hook_utils.h" #include "paddle/fluid/eager/api/utils/hook_utils.h"
#include "paddle/fluid/eager/backward.h" #include "paddle/fluid/eager/backward.h"
#include "paddle/fluid/eager/tests/test_utils.h" #include "paddle/fluid/eager/tests/test_utils.h"
#include "paddle/fluid/prim/tests/init_env_utils.h"
#include "paddle/fluid/prim/utils/utils.h" #include "paddle/fluid/prim/utils/utils.h"
#include "paddle/phi/core/dense_tensor.h" #include "paddle/phi/core/dense_tensor.h"
#include "paddle/phi/core/kernel_registry.h" #include "paddle/phi/core/kernel_registry.h"
#include "paddle/phi/core/tensor_meta.h" #include "paddle/phi/core/tensor_meta.h"
#include "test/cpp/prim/init_env_utils.h"
DECLARE_string(tensor_operants_mode); DECLARE_string(tensor_operants_mode);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册