Silence parenthesis warnings in mem API
Fix KFD version checking parenthesis warnings on compile.
Change-Id: I89c46ea84a8d75b761d8c40ff62d008c7afbef2d
[ROCm/ROCR-Runtime commit: c5dbb93e59]
Ta zmiana jest zawarta w:
%! (template.HTML=
Jonathan Kim)złożyło 2023-07-26 16:14:40 -04:00
1 rodzic
a8e34eaec8
złożenie
8d0be0c17f
Plik 1 zmieniony
+2
-2
@@ -1623,8 +1623,8 @@ void Runtime::CheckVirtualMemApiSupport() {
|
||||
auto kfd_version = core::Runtime::runtime_singleton_->KfdVersion().version;
|
||||
|
||||
if (kfd_version.KernelInterfaceMajorVersion > 1 ||
|
||||
kfd_version.KernelInterfaceMajorVersion == 1 &&
|
||||
kfd_version.KernelInterfaceMinorVersion >= 12) {
|
||||
(kfd_version.KernelInterfaceMajorVersion == 1 &&
|
||||
kfd_version.KernelInterfaceMinorVersion >= 12)) {
|
||||
char* error;
|
||||
|
||||
fn_amdgpu_device_get_fd =
|
||||
|
||||
Reference in new issue
Zablokuj użytkownika