diff options
author | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-07-03 13:44:43 +0100 |
---|---|---|
committer | Viet-Hoa Do <viet-hoa.do@arm.com> | 2023-07-06 09:35:02 +0000 |
commit | ce3c48c7af02555f81c0f5e7ef2677916cecef34 (patch) | |
tree | a4bf4a6f46bd44655129bf03ee5771e56edd33bd /compute_kernel_writer/CMakeLists.txt | |
parent | 9b392d7113aa181fdadbedcd4910e75ce23c0b3e (diff) | |
download | ComputeLibrary-ce3c48c7af02555f81c0f5e7ef2677916cecef34.tar.gz |
Move CKW prototype to separate directory
Partially resolves: COMPMID-6283
Signed-off-by: Viet-Hoa Do <viet-hoa.do@arm.com>
Change-Id: I7596e3dc357d6f0b9cbe66534523943a73c26d81
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9864
Reviewed-by: SiCong Li <sicong.li@arm.com>
Reviewed-by: Jakub Sujak <jakub.sujak@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'compute_kernel_writer/CMakeLists.txt')
-rw-r--r-- | compute_kernel_writer/CMakeLists.txt | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/compute_kernel_writer/CMakeLists.txt b/compute_kernel_writer/CMakeLists.txt index 2c770e4efb..186ab328f5 100644 --- a/compute_kernel_writer/CMakeLists.txt +++ b/compute_kernel_writer/CMakeLists.txt @@ -43,7 +43,6 @@ message(STATUS "${CMAKE_PROJECT_NAME} ${CMAKE_PROJECT_VERSION}") option(CKW_ENABLE_OPENCL "Enable OpenCL code generation" OFF) option(CKW_ENABLE_ASSERTS "Enable assertions. Always enabled in Debug builds" OFF) option(CKW_BUILD_TESTING "Build the Compute Kernel Writer validation test suite" OFF) -option(CKW_BUILD_EXAMPLES "Build the Compute Kernel Writer examples" OFF) option(CKW_CCACHE "Use compiler cache for faster recompilation" OFF) #--------------------------------------------------------------------- @@ -122,17 +121,6 @@ target_sources(ckw PRIVATE src/TensorInfo.cpp src/TensorUtils.cpp src/TileInfo.cpp - - src/Kernel.cpp - src/KernelWriter.cpp - src/OperandBase.cpp - src/TileOperand.cpp - src/TensorOperand.cpp - src/TensorTileSampler.cpp - - src/acl/AclKernelWriter.cpp - src/acl/AclScopedKernelWriter.cpp - src/acl/AclComponentArgument.cpp ) if(CKW_ENABLE_OPENCL) @@ -147,7 +135,7 @@ endif() target_include_directories(ckw PUBLIC ${CMAKE_CURRENT_LIST_DIR}/include PRIVATE ${CMAKE_CURRENT_LIST_DIR} - ) +) #--------------------------------------------------------------------- # Validation tests @@ -172,16 +160,10 @@ if(CKW_BUILD_TESTING) endif() #--------------------------------------------------------------------- -# Examples - -function(add_ckw_example name) - add_executable(${name} ${ARGN}) - target_link_libraries(${name} PUBLIC ckw) -endfunction(add_ckw_example) +# Prototype -if(CKW_BUILD_EXAMPLES) - add_ckw_example(ckw_example_add_exp_store - examples/add_exp_store.cpp) +if(CKW_BUILD_PROTOTYPE) + add_subdirectory(prototype) endif() #--------------------------------------------------------------------- |