SIGN IN SIGN UP

UCM/ZE/TEST: Add ZE support to gtest mem_buffer and UCM hook tests (#11321)

* UCM/ZE/TEST: Add ZE support to mem_buffer and UCM hook tests

- Extend gtest mem_buffer with ZE host, device, and managed
  allocators, including ZE copy and memset paths, and centralize
  ZE runtime initialization.
- Add UCM ZE hook tests to validate alloc and free callbacks.
- Update gtest Makefile.am to include ZE sources and linker flags.

* UCM/ZE/TEST: fix format

* UCM/ZE/TEST: Clean up ZE test code

Remove the dead HAVE_ZE guard around ZE memset case labels because
the enum values are always defined. Use UCS_TEST_ABORT instead of
UCS_TEST_SKIP in ZE allocate() paths for consistency with memset and
copy_between handling. Also drop the duplicate -lze_loader from
gtest_LDADD since it is already included in ZE_LIBS.

Signed-off-by: Yaser Afshar <yaser.afshar@intel.com>

---------

Signed-off-by: Yaser Afshar <yaser.afshar@intel.com>
Y
Yaser Afshar committed
9f05e5cd53e6ce4a94dba5cd449ba032fbfa677e
Parent: 92b2993
Committed by GitHub <noreply@github.com> on 8/6/2026, 7:02:49 AM