P4 to Git Change 1279182 by asalmanp@asalmanp-ocl-stg-pal on 2016/06/13 15:10:34

SWDEV-79278 - [OpenCL][PAL][GFXIP9 Bring up] OCL GFXIP9 general development.Adding support for ASIC detection based on gfxLevel on PAL.  For GFXIP9+, the Asic revision on PAL is Unknown and gfxLevel should be used for ASIC detection.

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/10616/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#4 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palprogram.cpp#6 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#4 edit
Αυτή η υποβολή περιλαμβάνεται σε:
foreman
2016-06-13 15:20:52 -04:00
γονέας 0a6f25b703
υποβολή 2d5f1bc48d
4 αρχεία άλλαξαν με 30 προσθήκες και 11 διαγραφές
@@ -155,10 +155,15 @@ Settings::create(
ModifyMaxWorkload modifyMaxWorkload = {0};
switch (palProp.revision) {
/* case Pal::AsicRevision:::
case CAL_TARGET_GREENLAND:
//TODO: specific codes for AI
aiPlus_ = true;*/
case Pal::AsicRevision::Unknown:
switch (palProp.gfxLevel) {
case Pal::GfxIpLevel::GfxIp9:
aiPlus_ = true;
break;
default:
assert(0 && "Unknown GfxIP type!");
return false;
}
// Fall through to VI ...
case Pal::AsicRevision::Carrizo:
case Pal::AsicRevision::Stoney: