SWDEV-380792 - Fix floating point exception when maxEngineClockFrequency_ is 0
Change-Id: Ic443ceae586c4c84995ed2abef9bd7f32f8b60f9
[ROCm/clr commit: b798c85272]
Bu işleme şunda yer alıyor:
@@ -1147,7 +1147,9 @@ bool Device::populateOCLDeviceConstants() {
|
||||
|
||||
//TODO: add the assert statement for Raven
|
||||
if (!(isa().versionMajor() == 9 && isa().versionMinor() == 0 && isa().versionStepping() == 2)) {
|
||||
assert(info_.maxEngineClockFrequency_ > 0);
|
||||
if (info_.maxEngineClockFrequency_ <= 0) {
|
||||
LogError("maxEngineClockFrequency_ is NOT positive!");
|
||||
}
|
||||
}
|
||||
|
||||
if (HSA_STATUS_SUCCESS !=
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle