mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 00:58:39 +08:00
Add UNUSED_VARIABLE helper macro
Change-Id: If293ad33899ee4feb79424c351b13ea85306c603 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
280b66fb97
commit
487c4c6e4b
@@ -1415,7 +1415,7 @@ cl_int Kernel::setArgImmediate(uint32_t argIndex,
|
||||
auto pSrc = ptrOffset(argVal, kernelArgPatchInfo.sourceOffset);
|
||||
|
||||
DEBUG_BREAK_IF(!(ptrOffset(pDst, kernelArgPatchInfo.size) <= crossThreadDataEnd));
|
||||
((void)(crossThreadDataEnd));
|
||||
UNUSED_VARIABLE(crossThreadDataEnd);
|
||||
|
||||
if (kernelArgPatchInfo.sourceOffset < argSize) {
|
||||
size_t maxBytesToCopy = argSize - kernelArgPatchInfo.sourceOffset;
|
||||
|
||||
Reference in New Issue
Block a user