Add support for global work offset extension in L0

Add experimental extension to set global work offest in L0.
Current L0 specification does not have interface to export
experimental function symbols, so for now, applications need
to find the symbol like with dlsym on Linux.

A blackbox test showing functionality is also added.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2020-12-03 23:24:08 +00:00
committed by Compute-Runtime-Automation
parent ab14df5aa6
commit beb3c5ed05
15 changed files with 481 additions and 10 deletions

View File

@@ -9,6 +9,7 @@ add_subdirectory(experimental${BRANCH_DIR_SUFFIX}/)
add_subdirectory(experimental/tracing)
add_subdirectory(tools)
add_subdirectory(sysman)
add_subdirectory(extensions)
set(L0_API "")
append_sources_from_properties(L0_API
@@ -17,5 +18,6 @@ append_sources_from_properties(L0_API
L0_EXPERIMENTAL_TRACING_API
L0_SYSMAN_API
L0_TOOLS_API
L0_EXTENSIONS_SRCS_API
)
set_property(GLOBAL PROPERTY L0_API ${L0_API})