blob: 7af8b7265a86ae76d531a8029590ea717045ae8f [file] [log] [blame]
Matteo Martincighdb16dd32019-08-27 16:41:11 +01001if(BUILD_SAMPLE_APP AND ARMNNREF)
telsoa01c577f2c2018-08-31 09:22:23 +01002 add_executable(SimpleSample SimpleSample.cpp)
Matthew Bentham347dfcf2018-11-19 11:28:58 +00003 target_link_libraries(SimpleSample armnn ${CMAKE_THREAD_LIBS_INIT})
Jan Eilerse38c4182021-09-02 13:12:11 +01004
5 add_executable(AsyncExecutionSample AsyncExecutionSample.cpp)
6 target_link_libraries(AsyncExecutionSample armnn ${CMAKE_THREAD_LIBS_INIT})
telsoa01c577f2c2018-08-31 09:22:23 +01007endif()
Narumol Prangnawarat867eba52020-02-03 12:29:56 +00008
Narumol Prangnawarat13b59a42020-02-07 10:28:31 +00009if(BUILD_SAMPLE_APP AND SAMPLE_DYNAMIC_BACKEND)
Narumol Prangnawarat867eba52020-02-03 12:29:56 +000010 add_executable(DynamicSample DynamicSample.cpp)
11 target_link_libraries(DynamicSample armnn ${CMAKE_THREAD_LIBS_INIT})
12endif()
Éanna Ó Catháin919c14e2020-09-14 17:36:49 +010013
Jan Eilersc1c872f2021-07-22 13:17:04 +010014if(BUILD_SAMPLE_APP AND ARMCOMPUTECL)
15 add_executable(CustomMemoryAllocatorSample CustomMemoryAllocatorSample.cpp)
16 target_link_libraries(CustomMemoryAllocatorSample armnn ${CMAKE_THREAD_LIBS_INIT})
17endif()
18