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
此提交包含在:
foreman
2018-01-12 14:59:13 -05:00
父節點 173126fa5d
當前提交 074f37ac4d
共有 3 個檔案被更改,包括 32 行新增10 行删除
+6
查看文件
@@ -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();