Add code object v5 support
Change-Id: I03522765056e99ed49e6c5e213ee3753852de27b
This commit is contained in:
committed by
Konstantin Zhuravlyov
parent
b3caf6782b
commit
9265409f08
@@ -1221,7 +1221,7 @@ hsa_status_t ExecutableImpl::LoadCodeObject(
|
||||
return HSA_STATUS_ERROR_INVALID_CODE_OBJECT;
|
||||
}
|
||||
|
||||
if (majorVersion < 1 || majorVersion > 4) {
|
||||
if (majorVersion < 1 || majorVersion > 5) {
|
||||
logger_ << "LoaderError: unsupported code object version: " << majorVersion << "\n";
|
||||
return HSA_STATUS_ERROR_INVALID_CODE_OBJECT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user