P4 to Git Change 1453746 by asalmanp@asalmanp-ocl-stg on 2017/08/31 10:53:40
SWDEV-79278 - [OCL][NV10] adding Pal::GfxIpLevel::GfxIp10 into couple of places and fixing a typo in GfxIpDeviceInfo table (gfx801 should be 810) ReviewBoardURL = http://ocltc.amd.com/reviews/r/13369/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#20 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldevice.cpp#52 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#28 edit
This commit is contained in:
@@ -164,6 +164,7 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
|
||||
switch (palProp.revision) {
|
||||
case Pal::AsicRevision::Unknown:
|
||||
switch (palProp.gfxLevel) {
|
||||
case Pal::GfxIpLevel::GfxIp10:
|
||||
case Pal::GfxIpLevel::GfxIp9:
|
||||
aiPlus_ = true;
|
||||
break;
|
||||
@@ -410,6 +411,7 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
|
||||
|
||||
#if defined(WITH_LIGHTNING_COMPILER)
|
||||
switch (palProp.gfxLevel) {
|
||||
case Pal::GfxIpLevel::GfxIp10:
|
||||
case Pal::GfxIpLevel::GfxIp9:
|
||||
singleFpDenorm_ = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user