SWDEV-286150 - Fix a crash when LC is forced

Change-Id: I1127490502012cdbc0391e45b5d9310f04f9482b


[ROCm/clr commit: b0af08ac04]
Этот коммит содержится в:
German Andryeyev committed 2021-11-05 12:35:11 -04:00
1 родитель 3e0539fc40
Коммит 92be4f5781
1 file changed
+5
+5
Просмотреть файл
@@ -266,6 +266,11 @@ public:
return HSAIL_DYN(aclGetDeviceBinary)(cl, bin, kernel, size, error_code);
}
static const bool ValidateBinaryImage(const void* binary, size_t length, unsigned type) {
#if defined(HSAIL_DYN_DLL)
if (cep_.aclValidateBinaryImage == nullptr) {
return false;
}
#endif // defined(HSAIL_DYN_DLL)
return HSAIL_DYN(aclValidateBinaryImage)(binary, length, type);
}
static aclJITObjectImage JITObjectImageCreate(aclCompiler *cl, const void* buffer, size_t length, aclBinary* bin, acl_error* error_code) {