SWDEV-361730 - Fix to match the kernel arg allocation sizes between gpu visible mem and host/runtime mem
Change-Id: I6495aa57e97b46373c1d90cc230435780fdcf3ef
Cette révision appartient à :
1 Parent
a5b550e828
révision
b2665ccc4b
2 fichiers modifiés
+5
-3
Aucun fichier ne correspond à votre recherche
@@ -2964,7 +2964,8 @@ bool VirtualGPU::submitKernelInternal(const amd::NDRangeContainer& sizes,
|
||||
argBuffer = reinterpret_cast<address>(allocKernArg(gpuKernel.KernargSegmentByteSize(),
|
||||
gpuKernel.KernargSegmentAlignment()));
|
||||
// Load all kernel arguments
|
||||
memcpy(argBuffer, parameters, gpuKernel.KernargSegmentByteSize());
|
||||
memcpy(argBuffer, parameters, std::min(gpuKernel.KernargSegmentByteSize(),
|
||||
signature.paramsSize()));
|
||||
}
|
||||
|
||||
// Check for group memory overflow
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur