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
This commit is contained in:
@@ -17,10 +17,24 @@ class AppProfile : public amd::AppProfile {
|
||||
//! return the value of enableHighPerformanceState_
|
||||
bool enableHighPerformanceState() const { return enableHighPerformanceState_; }
|
||||
bool reportAsOCL12Device() const { return reportAsOCL12Device_; }
|
||||
const std::string& GetSclkThreshold() const { return sclkThreshold_; }
|
||||
const std::string& GetDownHysteresis() const { return downHysteresis_; }
|
||||
const std::string& GetUpHysteresis() const { return upHysteresis_; }
|
||||
const std::string& GetPowerLimit() const { return powerLimit_; }
|
||||
const std::string& GetMclkThreshold() const { return mclkThreshold_; }
|
||||
const std::string& GetMclkUpHyst() const { return mclkUpHyst_; }
|
||||
const std::string& GetMclkDownHyst() const { return mclkDownHyst_; }
|
||||
|
||||
private:
|
||||
bool enableHighPerformanceState_;
|
||||
bool reportAsOCL12Device_;
|
||||
bool enableHighPerformanceState_;
|
||||
bool reportAsOCL12Device_;
|
||||
std::string sclkThreshold_;
|
||||
std::string downHysteresis_;
|
||||
std::string upHysteresis_;
|
||||
std::string powerLimit_;
|
||||
std::string mclkThreshold_;
|
||||
std::string mclkUpHyst_;
|
||||
std::string mclkDownHyst_;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user