From 2b066a602af91725c5eee9739c3a90d919c43a19 Mon Sep 17 00:00:00 2001 From: xiebaiyuan Date: Thu, 19 Dec 2019 11:34:38 +0800 Subject: [PATCH] develop expend op for erciyuan && code style && wrap test expendcl ,test=mobile (#2629) --- mobile/test/operators/test_expend_op.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mobile/test/operators/test_expend_op.cpp b/mobile/test/operators/test_expend_op.cpp index 0541c26ad8..80b5a461af 100644 --- a/mobile/test/operators/test_expend_op.cpp +++ b/mobile/test/operators/test_expend_op.cpp @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ +#ifdef PADDLE_MOBILE_CL #include "../executor_for_test_opencl.h" #include "operators/expand_op.h" #include "operators/feed_op.h" @@ -48,3 +49,4 @@ int main() { tester.Predict("expend", in_dims, out_dims, inputs, outputs, attrs); } #endif +#endif -- GitLab