refactor: Update MI_MEM_FENCE

Refactors the MI_MEM_FENCE to align with the latest specification.

Related-To: NEO-13147

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
Vysochyn, Illia
2025-01-07 23:16:16 +00:00
committed by Compute-Runtime-Automation
parent b192893738
commit a2aa645404
13 changed files with 45 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2024 Intel Corporation
* Copyright (C) 2021-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -7057,14 +7057,14 @@ struct MI_MEM_FENCE {
} TheStructure;
typedef enum tagFENCE_TYPE {
FENCE_TYPE_RELEASE = 0x0,
FENCE_TYPE_ACQUIRE = 0x1,
FENCE_TYPE_RELEASE_FENCE = 0x0,
FENCE_TYPE_ACQUIRE_FENCE = 0x1,
} FENCE_TYPE;
inline void init() {
memset(&TheStructure, 0, sizeof(TheStructure));
TheStructure.Common.MiCommandOpcode = 0x9;
TheStructure.Common.FenceType = FENCE_TYPE::FENCE_TYPE_RELEASE;
TheStructure.Common.FenceType = FENCE_TYPE::FENCE_TYPE_RELEASE_FENCE;
}
static MI_MEM_FENCE sInit() {