Fork自 PaddlePaddle / Paddle
if (NOT LITE_WITH_OPENCL) return () endif() set(cl_kernel_deps op_params_lite cl_caller cl_engine cl_context cl_wrapper) cc_library(elementwise_add_opencl SRCS elementwise_add_compute.cc DEPS ${cl_kernel_deps}) lite_cc_test(test_elementwise_add_opencl SRCS elementwise_add_compute_test.cc DEPS elementwise_add_opencl op_registry_lite program_lite context_lite ) set(opencl_kernels elementwise_add_opencl CACHE INTERNAL "")