mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
Unified memory sharing 7/n
Move extension name to a separate file Related-To: NEO-3771 Change-Id: I0c18b0e850e14102936d303d03b8b0e03a22e21a Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
47645d6003
commit
280b66fb97
@@ -17,3 +17,5 @@ set(RUNTIME_SRCS_SHARINGS_UNIFIED
|
|||||||
target_sources(${NEO_STATIC_LIB_NAME} PRIVATE ${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})
|
set_property(GLOBAL PROPERTY RUNTIME_SRCS_SHARINGS_UNIFIED ${RUNTIME_SRCS_SHARINGS_UNIFIED})
|
||||||
add_subdirectories()
|
add_subdirectories()
|
||||||
|
|
||||||
|
target_sources(${SHARINGS_ENABLE_LIB_NAME} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}${BRANCH_DIR_SUFFIX}/unified_enable_name.cpp)
|
||||||
|
|||||||
@@ -45,10 +45,6 @@ std::unique_ptr<SharingContextBuilder> UnifiedSharingBuilderFactory::createConte
|
|||||||
return std::make_unique<UnifiedSharingContextBuilder>();
|
return std::make_unique<UnifiedSharingContextBuilder>();
|
||||||
};
|
};
|
||||||
|
|
||||||
std::string UnifiedSharingBuilderFactory::getExtensions() {
|
|
||||||
return "cl_intel_unified_sharing ";
|
|
||||||
}
|
|
||||||
|
|
||||||
void *UnifiedSharingBuilderFactory::getExtensionFunctionAddress(const std::string &functionName) {
|
void *UnifiedSharingBuilderFactory::getExtensionFunctionAddress(const std::string &functionName) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|||||||
14
runtime/sharings/unified/unified_enable_name.cpp
Normal file
14
runtime/sharings/unified/unified_enable_name.cpp
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2019 Intel Corporation
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: MIT
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "runtime/sharings/unified/enable_unified.h"
|
||||||
|
|
||||||
|
namespace NEO {
|
||||||
|
std::string UnifiedSharingBuilderFactory::getExtensions() {
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
} // namespace NEO
|
||||||
Reference in New Issue
Block a user