summaryrefslogtreecommitdiff
path: root/runtimes/contrib/labs/opencl_test/CMakeLists.txt
blob: dc8f5f66142b07b8563b02de05b093359be6863b (plain)
1
2
3
4
5
6
7
8
9
10
11
if(NOT ${TARGET_ARCH_BASE} STREQUAL "arm")
  return()
endif(NOT ${TARGET_ARCH_BASE} STREQUAL "arm")

list(APPEND OPENCL_INFO_SOURCE "src/opencl_test.cc")

nnfw_find_package(ARMCompute REQUIRED)

add_executable(opencl_test ${OPENCL_INFO_SOURCE})
target_link_libraries(opencl_test arm_compute)
target_link_libraries(opencl_test arm_compute_ex)