Skip to content

Commit

Permalink
Merge pull request #1621 from npmiller/fix-hip-queue-props
Browse files Browse the repository at this point in the history
[HIP] Add missing queue properties
  • Loading branch information
kbenzie authored Jun 13, 2024
2 parents 3077fd4 + 2045104 commit 15c789d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions source/adapters/hip/queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,10 +191,12 @@ UR_APIEXPORT ur_result_t UR_APICALL urQueueGetInfo(ur_queue_handle_t hQueue,
});
return ReturnValue(IsReady);
}
case UR_QUEUE_INFO_DEVICE_DEFAULT:
case UR_QUEUE_INFO_SIZE:
return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION;
default:
break;
return UR_RESULT_ERROR_INVALID_ENUMERATION;
}
return {};
}

UR_APIEXPORT ur_result_t UR_APICALL urQueueRetain(ur_queue_handle_t hQueue) {
Expand Down

0 comments on commit 15c789d

Please sign in to comment.