mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: remove not needed volatile
Related-To: NEO-10767 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
4cdd5671f7
commit
99a7b5a4fb
@@ -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);
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user