mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 21:42:53 +08:00
Pass root device index to Buffer::setArgStateless
Related-To: NEO-4672 Change-Id: I3acb09b14588fd4aad253eb82c34d1c2d192a34e Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
1c312f76e1
commit
ec391d62ee
@@ -1292,7 +1292,7 @@ cl_int Kernel::setArgBuffer(uint32_t argIndex,
|
||||
|
||||
auto patchSize = kernelArgInfo.kernelArgPatchInfoVector[0].size;
|
||||
|
||||
uint64_t addressToPatch = buffer->setArgStateless(patchLocation, patchSize, !this->isBuiltIn);
|
||||
uint64_t addressToPatch = buffer->setArgStateless(patchLocation, patchSize, getDevice().getRootDeviceIndex(), !this->isBuiltIn);
|
||||
|
||||
if (DebugManager.flags.AddPatchInfoCommentsForAUBDump.get()) {
|
||||
PatchInfoData patchInfoData(addressToPatch - buffer->getOffset(), static_cast<uint64_t>(buffer->getOffset()), PatchInfoAllocationType::KernelArg, reinterpret_cast<uint64_t>(getCrossThreadData()), static_cast<uint64_t>(kernelArgInfo.kernelArgPatchInfoVector[0].crossthreadOffset), PatchInfoAllocationType::IndirectObjectHeap, patchSize);
|
||||
|
||||
Reference in New Issue
Block a user