mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
feature: add indirect semaphore mode
Related-To: NEO-8242 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
a441b10015
commit
6648065703
@@ -546,9 +546,11 @@ void EncodeSemaphore<Family>::programMiSemaphoreWait(MI_SEMAPHORE_WAIT *cmd,
|
||||
COMPARE_OPERATION compareMode,
|
||||
bool registerPollMode,
|
||||
bool waitMode,
|
||||
bool useQwordData) {
|
||||
bool useQwordData,
|
||||
bool indirect) {
|
||||
constexpr uint64_t upper32b = static_cast<uint64_t>(std::numeric_limits<uint32_t>::max()) << 32;
|
||||
UNRECOVERABLE_IF(useQwordData || (compareData & upper32b));
|
||||
UNRECOVERABLE_IF(indirect);
|
||||
|
||||
MI_SEMAPHORE_WAIT localCmd = Family::cmdInitMiSemaphoreWait;
|
||||
localCmd.setCompareOperation(compareMode);
|
||||
|
||||
Reference in New Issue
Block a user