SWDEV-305527 - Changes to handle memset blit kernel that takes width, height and depth. This also fixes SWDEV-317261.

Change-Id: Ic85f63a95d9d8f48884fc8c7fd95cbb496dfbbca


[ROCm/clr commit: 7fb80a027a]
Cette révision appartient à :
kjayapra-amd a créé et Karthik Jayaprakash a révisé 2022-03-31 09:02:33 -04:00
1 Parent 8fb4e3478a
révision 31c0525344
11 fichiers modifiés
+224 -47

Aucun fichier ne correspond à votre recherche

+2 -2
Voir le fichier
@@ -117,8 +117,8 @@ bool Segment::alloc(HSAILProgram& prog, amdgpu_hsa_elf_segment_t segment, size_t
if ((cpuAccess_ == nullptr) && zero && !prog.isInternal()) {
uint64_t pattern = 0;
size_t patternSize = ((size % sizeof(pattern)) == 0) ? sizeof(pattern) : 1;
prog.palDevice().xferMgr().fillBuffer(*gpuAccess_, &pattern, patternSize, amd::Coord3D(0),
amd::Coord3D(size));
prog.palDevice().xferMgr().fillBuffer(*gpuAccess_, &pattern, patternSize, amd::Coord3D(size),
amd::Coord3D(0), amd::Coord3D(size));
}
switch (segment) {