P4 to Git Change 1978640 by todli@todli-win-opencl-kv1 on 2019/08/06 02:44:22

SWDEV-198179 - Add Renoir Support to OpenCL Staging

	http://ocltc.amd.com/reviews/r/17770/

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABI.h#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/loaders/bif/amuabi/amuABIMultiBinary.cpp#24 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/libUtils.cpp#41 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail.h#57 edit
... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/v0_8/target_mappings_hsail64.h#52 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#159 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#607 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprogram.cpp#249 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#363 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#191 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/caltarget.h#9 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palbedefs#45 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#93 edit
... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/binary/BIFEnumCheck.cpp#31 edit
Этот коммит содержится в:
foreman
2019-08-06 02:47:47 -04:00
родитель ef171b016d
Коммит 194bddebaf
10 изменённых файлов: 25 добавлений и 4 удалений
+4
Просмотреть файл
@@ -677,6 +677,10 @@ CALGSLDevice::SetupContext(int32 &asic_id)
m_target = CAL_TARGET_VEGA20;
m_elfmachine = ED_ATI_CAL_MACHINE_VEGA20_ISA;
break;
case GSL_ATIASIC_ID_RENOIR:
m_target = CAL_TARGET_RENOIR;
m_elfmachine = ED_ATI_CAL_MACHINE_RENOIR_ISA;
break;
default:
// 6XX is not supported
m_adp->deleteContext(temp_cs);
+2 -1
Просмотреть файл
@@ -51,7 +51,8 @@ typedef enum CALtargetEnum {
CAL_TARGET_POLARIS22, /**< POLARIS22 GPU ISA*/
CAL_TARGET_VEGA12, /**< VEGA12 GPU ISA*/
CAL_TARGET_VEGA20, /**< VEGA20 GPU ISA*/
CAL_TARGET_LAST = CAL_TARGET_VEGA20, /**< last */
CAL_TARGET_RENOIR, /**< RENOIR GPU ISA*/
CAL_TARGET_LAST = CAL_TARGET_RENOIR, /**< last */
//##END_PRIVATE##
} CALtarget;