From 827f75da14a8b6b334777ac3943125b6c905c739 Mon Sep 17 00:00:00 2001 From: Filip Hazubski Date: Wed, 10 Mar 2021 10:35:41 +0000 Subject: [PATCH] Update unified sharing Signed-off-by: Filip Hazubski --- opencl/source/sharings/unified/CMakeLists.txt | 4 +--- opencl/source/sharings/unified/enable_unified.cpp | 6 +++++- .../sharings/unified/unified_enable_name.cpp | 14 -------------- 3 files changed, 6 insertions(+), 18 deletions(-) delete mode 100644 opencl/source/sharings/unified/unified_enable_name.cpp diff --git a/opencl/source/sharings/unified/CMakeLists.txt b/opencl/source/sharings/unified/CMakeLists.txt index dfee8416f1..b91f7dffa6 100644 --- a/opencl/source/sharings/unified/CMakeLists.txt +++ b/opencl/source/sharings/unified/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright (C) 2019-2020 Intel Corporation +# Copyright (C) 2019-2021 Intel Corporation # # SPDX-License-Identifier: MIT # @@ -19,5 +19,3 @@ set(RUNTIME_SRCS_SHARINGS_UNIFIED target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${RUNTIME_SRCS_SHARINGS_UNIFIED}) set_property(GLOBAL PROPERTY RUNTIME_SRCS_SHARINGS_UNIFIED ${RUNTIME_SRCS_SHARINGS_UNIFIED}) add_subdirectories() - -target_sources(${SHARINGS_ENABLE_LIB_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/unified_enable_name.cpp) diff --git a/opencl/source/sharings/unified/enable_unified.cpp b/opencl/source/sharings/unified/enable_unified.cpp index b917ebc3bf..c15e1b3d58 100644 --- a/opencl/source/sharings/unified/enable_unified.cpp +++ b/opencl/source/sharings/unified/enable_unified.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019-2020 Intel Corporation + * Copyright (C) 2019-2021 Intel Corporation * * SPDX-License-Identifier: MIT * @@ -45,6 +45,10 @@ std::unique_ptr UnifiedSharingBuilderFactory::createConte return std::make_unique(); }; +std::string UnifiedSharingBuilderFactory::getExtensions(DriverInfo *driverInfo) { + return ""; +} + void *UnifiedSharingBuilderFactory::getExtensionFunctionAddress(const std::string &functionName) { return nullptr; } diff --git a/opencl/source/sharings/unified/unified_enable_name.cpp b/opencl/source/sharings/unified/unified_enable_name.cpp deleted file mode 100644 index f1a6a69cf2..0000000000 --- a/opencl/source/sharings/unified/unified_enable_name.cpp +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (C) 2019-2020 Intel Corporation - * - * SPDX-License-Identifier: MIT - * - */ - -#include "opencl/source/sharings/unified/enable_unified.h" - -namespace NEO { -std::string UnifiedSharingBuilderFactory::getExtensions(DriverInfo *driverInfo) { - return ""; -} -} // namespace NEO