Skip to content

Commit

Permalink
Check only the minor ioctl version for event support
Browse files Browse the repository at this point in the history
Change-Id: I70ddab4298a62178b2509a0365ee4cd6937302c1
  • Loading branch information
Chris Freehill authored and Chris Freehill committed May 27, 2020
1 parent e30ebbc commit 42c1063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rocm_smi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3401,7 +3401,7 @@ static bool check_evt_notif_support(int kfd_fd) {
return RSMI_STATUS_INIT_ERROR;
}

if (args.major_version < 2 && args.minor_version < 3) {
if (args.minor_version < 3) {
return false;
}
return true;
Expand Down

0 comments on commit 42c1063

Please sign in to comment.