P4 to Git Change 1503207 by wchau@wchau_OCL_boltzmann on 2018/01/12 14:51:08
SWDEV-140733 - OpenCL Runtime Support for Raven BU in ROCm - Fix OCLMemoryInfo issue of incorrect free memory info - Fix OCLPerfMemCreate failure due to memory leak Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocmemory.cpp#31 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#30 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.hpp#12 edit
此提交包含在:
@@ -72,6 +72,8 @@ Settings::Settings() {
|
||||
|
||||
// Don't support Denormals for single precision by default
|
||||
singleFpDenorm_ = false;
|
||||
|
||||
apuSystem_ = false;
|
||||
}
|
||||
|
||||
bool Settings::create(bool fullProfile, int gfxipVersion) {
|
||||
@@ -124,6 +126,10 @@ bool Settings::create(bool fullProfile, int gfxipVersion) {
|
||||
}
|
||||
#endif // WITH_LIGHTNING_COMPILER
|
||||
|
||||
if (gfxipVersion == 902) {
|
||||
apuSystem_ = true;
|
||||
}
|
||||
|
||||
// Override current device settings
|
||||
override();
|
||||
|
||||
|
||||
新增問題並參考
封鎖使用者