P4 to Git Change 1517501 by asalmanp@asalmanp-ocl-stg on 2018/02/20 13:54:28
SWDEV-132899 - [OCL][GFX10] OCLCreateImage[3] fails for the image type 1Darray Issue: FillImage blit kernel is not working properly on gfx10 if the image type is 1Darray (i.e., it only fills the first slice/layer and ignores the rest of the layers when number of layers >1) Root cause: gfx10 HW expects the number of layers in Z component Fix: To fix this issue we swap the Y and Z components if the image type is 1Darray for gfx10+ in image blit kernels. ReviewBoardURL = http://ocltc.amd.com/reviews/r/14281/diff/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palblit.cpp#17 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#42 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.hpp#14 edit
Cette révision appartient à :
1 Parent
66208072a3
révision
e0f4740fc4
3 fichiers modifiés
+55
-1
Aucun fichier ne correspond à votre recherche
@@ -102,6 +102,7 @@ Settings::Settings() {
|
||||
// Disable ASIC specific features by default
|
||||
viPlus_ = false;
|
||||
aiPlus_ = false;
|
||||
gfx10Plus_ = false;
|
||||
|
||||
// Number of compute rings.
|
||||
numComputeRings_ = 0;
|
||||
@@ -165,6 +166,7 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
|
||||
case Pal::AsicRevision::Unknown:
|
||||
switch (palProp.gfxLevel) {
|
||||
case Pal::GfxIpLevel::GfxIp10:
|
||||
gfx10Plus_ = true;
|
||||
case Pal::GfxIpLevel::GfxIp9:
|
||||
aiPlus_ = true;
|
||||
break;
|
||||
@@ -173,6 +175,8 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
|
||||
return false;
|
||||
}
|
||||
case Pal::AsicRevision::Navi10:
|
||||
gfx10Plus_ = true;
|
||||
// Fall through to AI (gfx9) ...
|
||||
case Pal::AsicRevision::Vega20:
|
||||
case Pal::AsicRevision::Vega12:
|
||||
case Pal::AsicRevision::Vega10:
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur