P4 to Git Change 1744867 by asalmanp@asalmanp-ocl-stg on 2019/02/15 18:26:24

SWDEV-132899 - Adding support for Navi14/Navi12.
	ReviewRequestURL = http://ocltc.amd.com/reviews/r/16708/diff/1/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#188 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#28 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/paldefs.hpp#48 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#68 edit
Cette révision appartient à :
foreman
2019-02-15 18:52:53 -05:00
Parent 5ab68dc87b
révision 986ca859ad
3 fichiers modifiés avec 16 ajouts et 0 suppressions
+8
Voir le fichier
@@ -675,6 +675,14 @@ CALGSLDevice::SetupContext(int32 &asic_id)
m_target = CAL_TARGET_NAVI10;
m_elfmachine = ED_ATI_CAL_MACHINE_NAVI10_ISA;
break;
case GSL_ATIASIC_ID_NAVI14:
m_target = CAL_TARGET_NAVI10;
m_elfmachine = ED_ATI_CAL_MACHINE_NAVI10_ISA;
break;
case GSL_ATIASIC_ID_NAVI12:
m_target = CAL_TARGET_NAVI10;
m_elfmachine = ED_ATI_CAL_MACHINE_NAVI10_ISA;
break;
default:
// 6XX is not supported