- unit tests are using mocked version of createAubManager
- dynamic library, aub and tbx tests are using functional
version using aub_stream
Change-Id: I12d69d84d00645009b026df266b8b64adebb86d4
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
- interface to debugger dynamic library
- code is included when source level debugger header exists,
otherwise implementation is exluded from build
- unit tests do not load real dynamic library,
instead test version (DebbugerLibrary) of OsLibrary is used.
Change-Id: Id3229c77963352e8001043ee41b7d48c6b180a59
use preprocessor sequence to convert define value to stirng:
#define q(a) #a
#define tostr(b) q(b)
Change-Id: If0a9ccfcc543523309be4995c05125bf8fbf2081
Add macro to simplify iteration for gens, platforms and test configs
Common usage:
1. Write macro "macro_for_each_platform", you can use variables:
GEN_TYPE, GEN_TYPE_LOWER, PLATFORM_IT, PLATFORM_IT_LOWER
2. Write macro "macro_for_each_gen", you can use variables:
GEN_TYPE, GEN_TYPE_LOWER
3. In macro "macro_for_each_gen" call "apply_macro_for_each_platform"
4. Call "apply_macro_for_each_gen" with gen type (SUPPORTED/TESTED)
When needed iterate over test configurations:
1. Write macro "macro_for_each_test_config", you can use variables from
parent macro and SLICES, SUBSLICES and EU_PER_SS
2. In macro "macro_for_each_platform" call "apply_macro_for_each_test_config"
with specified type (AUB_TESTS/MT_TESTS/UNIT_TESTS)
Change-Id: Icd537f409a224a1ffade1874065f8fee66189350
Allows having a single .def file template while supporting
dynamic concatenation of exported functions to the list
Change-Id: I5186f2f028092bad7e2968b96062edd96454d81d
cleanup unit_tests/aub_tests/CMakeLists.txt
cleanup unit_tests/elflib/CMakeLists.txt
cleanup unit_tests/libult/CMakeLists.txt
cleanup unit_tests/tbx/CMakeLists.txt
partially cleanup unit_tests/CMakeLists.txt
solution source tree changes:
- make test projects folder as variable
- make platform specific targets folder as variable
- move platform specific targets to \"test platforms\" folder
Change-Id: Iff7da009e13c3ac9e5af76325be32e5056e8cd7b
In some cases we may hit issue because of different version of Khronos
headers available to include. The version from Khronos public github
repository has absolute priority.
Change-Id: I3d336943a3779d75d1a0f4bf4990a61ae6c0e2f2
search order is:
1. check if variable INSTRUMENTATION_LIB_NAME is set. if yes it will
provide lib name and target have to be present
2. check if source location was given. use it if yes
3. check if folder in workspace exists
When library is found then dependency is added to ensure build order
When none of above found support in Neo will be disabled (stub is used)
Change-Id: I9151f4002997ab5cfd1a397794f11cc18dfe44fa
Add macro to add all subdirectories
Add macro to create project source tree based on target sources
Small cleanup runtime/CMakeLists.txt
Change-Id: I9b99145c544f648c4c3fe7421752d0c5d9504edf
according to spec we have to export clGetPlatformInfo API entry point
for Installable Client Driver (ICD) to work.
on Linux it requires extra flag for linker to avoid loop in dispatch
table.
Change-Id: I2f6cf7da10e3a346c363d7bc94d9eff1eeb64895
search order is:
1. check variable GMMUMD_LIB_NAME. if set target of this name should
exist
2. check for variable GMM_SOURCE_DIR. if set include such folder and
check GMMUMD_LIB_NAME for library name assumig 'gmm_umd' as default
3. check if gmmlib folder exists in workspace. if yes, then include it
and check GMMUMD_LIB_NAME for library name assuming 'gmm_umd' as default
Change-Id: I9f5f69ab97c0bb8f2c250ac91b69c3ccd048fdda
Linking is required for igdrcl_dll target only. Not needed for static
library. This reduces scope of targets where library is required.
Change-Id: Ie48ce1f299ef9d4e484081fe87254869c72ca042
This commit adds support for Debug Assistance Functionality (DAF)
aka "Driver Aubcapture" to debug builds on Windows.
Change-Id: I7e859d32af17a6fcee23868392df6cd1390e4afd
- Program one PS with gpgpu selection and media sampler
- Program PS only when media sampler requirement changed
or when preamble was not sent
Change-Id: I85ba3f74087733e79d048e120aeb8b4b04796e00