P4 to Git Change 1572945 by jatang@jatang-opencl-hsa-stg5 on 2018/06/26 16:09:41

SWDEV-155654 - TDR\BSOD observed while running Nuke Performance Benchmark test on Hawaii Asics.

	Need to support the new power-related appprofile parameters for gfx8 ASICs.

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuappprofile.cpp#14 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuappprofile.hpp#8 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudevice.cpp#592 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.cpp#183 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gslbe/src/rt/GSLDevice.h#64 edit


[ROCm/clr commit: 717c0e3e6c]
Этот коммит содержится в:
foreman committed 2018-06-26 16:18:18 -04:00
1 родитель a1204236d2
Коммит ef220982f9
5 files changed
+201 -13

No files matched your search

+15 -5
Просмотреть файл
@@ -840,11 +840,21 @@ bool Device::create(CALuint ordinal, CALuint numOfDevices) {
bool noSVM = LP64_SWITCH(true, false) && !GPU_FORCE_OCL20_32BIT;
// Open GSL device
if (!open(ordinal, appProfile_.enableHighPerformanceState(),
(smallMemSystem ||
appProfile_.reportAsOCL12Device() ||
(OPENCL_VERSION < 200) ||
noSVM))) {
CALGSLDevice::OpenParams openData = {0};
openData.enableHighPerformanceState = appProfile_.enableHighPerformanceState();
openData.reportAsOCL12Device = (smallMemSystem ||
appProfile_.reportAsOCL12Device() ||
(OPENCL_VERSION < 200) ||
noSVM);
openData.sclkThreshold = appProfile_.GetSclkThreshold().c_str();
openData.downHysteresis = appProfile_.GetDownHysteresis().c_str();
openData.upHysteresis = appProfile_.GetUpHysteresis().c_str();
openData.powerLimit = appProfile_.GetPowerLimit().c_str();
openData.mclkThreshold = appProfile_.GetMclkThreshold().c_str();
openData.mclkUpHyst = appProfile_.GetMclkUpHyst().c_str();
openData.mclkDownHyst = appProfile_.GetMclkDownHyst().c_str();
if (!open(ordinal, openData)) {
return false;
}