Block ROCm 4.1+ running against 4.0 and prior kfd.
Sramecc is misreported in kfd 4.0 and prior. To prevent possible corruption due to d16 instructions, deny use of gfx906 with older kfds and correct misreport for gfx908. Denial of gfx906 may be overridden by setting HSA_IGNORE_SRAMECC_MISREPORT=1. Change-Id: I7d5c3a716fad01c348f8b88cd508cedbf914c989
This commit is contained in:
@@ -1266,7 +1266,8 @@ Runtime::Runtime()
|
||||
sys_clock_freq_(0),
|
||||
vm_fault_event_(nullptr),
|
||||
vm_fault_signal_(nullptr),
|
||||
ref_count_(0) {}
|
||||
ref_count_(0),
|
||||
kfd_version{0} {}
|
||||
|
||||
hsa_status_t Runtime::Load() {
|
||||
flag_.Refresh();
|
||||
|
||||
Reference in New Issue
Block a user