Files
compute-runtime/shared/test
Kamil Kopryk aef760b6b0 feature: add tbx support for host functions
Tbx requires write memory after changing a mapped
allocation from the driver side.
Host function use bytes mapped from tagAllocation.

Host function data update has 2 steps:
* update the mapped data in the driver
* write memory so Tbx can see the data

Tag allocation can be pulled (downloadAllocation)
e.g. while waiting, and at the same time the host function worker thread
can update the data.
In such scenario the updated mapped data could be reverted
by a concurrent downloadAllocation call.

I've added a lock to prevent concurrent downloadAllocation calls
overlapping the 2step tbx host function data update.

Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-12-16 09:55:51 +01:00
..
2025-12-15 14:44:54 +01:00