refactor: remove not needed volatile

Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2025-01-15 19:01:49 +00:00
committed by Compute-Runtime-Automation
parent 4cdd5671f7
commit 99a7b5a4fb
6 changed files with 17 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2024 Intel Corporation
* Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -339,7 +339,8 @@ HWTEST_F(EnqueueMapBufferTest, givenNonBlockingReadOnlyMapBufferOnZeroCopyBuffer
auto callbackCalled = 0u;
*pTagMemory += 4;
auto newTag = *pTagMemory + 4;
*pTagMemory = newTag;
clSetEventCallback(mapEventReturned, CL_COMPLETE, E2Clb::signalEv2, (void *)&callbackCalled);

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2024 Intel Corporation
* Copyright (C) 2018-2025 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -380,7 +380,8 @@ HWTEST_F(EnqueueMapImageTest, givenNonReadOnlyMapWithOutEventWhenMappedThenSetEv
taskCount = commandStreamReceiver.peekTaskCount();
EXPECT_EQ(3u, taskCount);
(*pTagMemory)++;
auto newTag = *pTagMemory + 1;
(*pTagMemory) = newTag;
retVal = clEnqueueUnmapMemObject(
pCmdQ,
image,