level-zero-tests
level-zero-tests copied to clipboard
oneAPI Level Zero Conformance & Performance test content
It would very helpful to know which API or loader version these tests require. The prerequisites in the BUILD file appear to be outdates as the file has not been...
/home/dev/level-zero-tests/utils/test_harness/src/test_harness_device.cpp: In function ‘_ze_device_handle_t* level_zero_tests::get_root_device(ze_device_handle_t)’: /home/dev/level-zero-tests/utils/test_harness/src/test_harness_device.cpp:90:32: error: ‘zeDeviceGetRootDevice’ was not declared in this scope; did you mean ‘zeDeviceGetSubDevices’? 90 | EXPECT_EQ(ZE_RESULT_SUCCESS, zeDeviceGetRootDevice(device, &root_device)); | ^~~~~~~~~~~~~~~~~~~~~ gmake[2]: *** [utils/test_harness/CMakeFiles/test_harness.dir/build.make:76: utils/test_harness/CMakeFiles/test_harness.dir/src/test_harness_device.cpp.o] Error...
Improves performance in System Memory Copy To/From Shared Memory tests by ensuring best memory placement for kmd-migrated shared allocations. Related-To: NEO-7851 Signed-off-by: Slawomir Milczarek
Perf tests build on Ubuntu 22.04 outputs several warnings about this: ``` In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from...
Dear colleagues, There is a data race between ze_context_handle_t::context checking and its initialization in `level_zero_tests::get_default_context()`. The context may be unsuccessfully checked in [the condition](https://github.com/oneapi-src/level-zero-tests/blob/a760ae0b52497b73254b2df8b191aa3693a970c7/utils/utils/src/utils.cpp#L23) by several threads and then [assigned](https://github.com/oneapi-src/level-zero-tests/blob/a760ae0b52497b73254b2df8b191aa3693a970c7/utils/utils/src/utils.cpp#L29)...
ze_event_desc_t::index in ``` event_desc.index = index++; auto event_compute_low = lzt::create_event(ep_time, event_desc); event_compute_lows.push_back(event_compute_low); ``` [should be initialized](https://github.com/oneapi-src/level-zero-tests/blob/0a5402244b97828938cf291b169faca0cd72958f/conformance_tests/core/test_cmdqueue/src/test_cmdqueue.cpp#L491) by pre-increment, as currently 1st element of `event_compute_lows` and `event_compute_high` is same event, because...
Setup: * HW: CML-S / DG1 (0x4905) * OS: Ubuntu 22.04 * Kernel: "drm-tip" head from yesterday * UMD: Latest releases of compute stack components, built with LLVM 12 *...
I created the patch for supporting to select multiple tests from command line: ze_peak -t global_bw -t hp_compute
build-multi.yml: Build environment specified with Dockerfiles build-quick.yml: Build natively on GitHub runners (renamed from ci-external.yml)
* zesDeviceGetSubDevicePropertiesExp is used to retrieve Subdevice UUID's. * Sysman UUID's are compared with Core UUID's (FLAT Mode) Related-To: VLCLJ-2256