From 41fe39909500193216cae5663d04f5d6fa9a293f Mon Sep 17 00:00:00 2001 From: ZhenWang Date: Thu, 27 Jun 2019 21:56:27 +0800 Subject: [PATCH] add opencl ci, test=develop --- paddle/fluid/lite/api/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/paddle/fluid/lite/api/CMakeLists.txt b/paddle/fluid/lite/api/CMakeLists.txt index f1c9e21002..b62cebb97d 100644 --- a/paddle/fluid/lite/api/CMakeLists.txt +++ b/paddle/fluid/lite/api/CMakeLists.txt @@ -60,7 +60,6 @@ if(NOT LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND WITH_TESTING) add_dependencies(test_googlenet_lite extern_lite_download_GoogleNet_inference_tar_gz) endif() - if(LITE_WITH_LIGHT_WEIGHT_FRAMEWORK AND WITH_TESTING) set(lite_model_test_DEPS cxx_api_lite mir_passes ${ops_lite} ${host_kernels} ${arm_kernels}) @@ -157,6 +156,6 @@ lite_cc_binary(cxx_api_lite_bin SRCS cxx_api_bin_int8.cc ${ops_lite} ${host_kernels} CL_DEPS ${opencl_kernels} ARM_DEPS ${arm_kernels}) -lite_cc_binary(model_optimize_tool SRCS model_optimize_tool.cc +lite_cc_binary(model_optimize_tool SRCS model_optimize_tool.cc DEPS paddle_api_full CL_DEPS ${opencl_kernels}) -- GitLab