CMake cleanup: move opencl logic to opencl folder

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-11-10 19:19:29 +00:00
committed by Compute-Runtime-Automation
parent aaa5e6d358
commit d2a4af9d9d
8 changed files with 101 additions and 85 deletions

View File

@ -0,0 +1,14 @@
#
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
if(DEFAULT_TESTED_PLATFORM AND NOT NEO_SKIP_OCL_UNIT_TESTS)
add_subdirectory_unique(unit_test ${NEO_BUILD_DIR}/opencl/test/unit_test)
endif()
if(NOT BUILD_WITHOUT_RUNTIME)
add_subdirectory_unique(black_box_test)
endif()