diff --git a/mobile/test/operators/test_expend_op.cpp b/mobile/test/operators/test_expend_op.cpp index 0541c26ad8729e63473761ee365378f4b0f10545..80b5a461afe0b292e9e9cfee93061fe1acaa9090 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