Skip to content

Commit 15c789d

Browse files
authored
Merge pull request #1621 from npmiller/fix-hip-queue-props
[HIP] Add missing queue properties
2 parents 3077fd4 + 2045104 commit 15c789d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

source/adapters/hip/queue.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,10 +191,12 @@ UR_APIEXPORT ur_result_t UR_APICALL urQueueGetInfo(ur_queue_handle_t hQueue,
191191
});
192192
return ReturnValue(IsReady);
193193
}
194+
case UR_QUEUE_INFO_DEVICE_DEFAULT:
195+
case UR_QUEUE_INFO_SIZE:
196+
return UR_RESULT_ERROR_UNSUPPORTED_ENUMERATION;
194197
default:
195-
break;
198+
return UR_RESULT_ERROR_INVALID_ENUMERATION;
196199
}
197-
return {};
198200
}
199201

200202
UR_APIEXPORT ur_result_t UR_APICALL urQueueRetain(ur_queue_handle_t hQueue) {

0 commit comments

Comments
 (0)