Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions projects/hip/include/hip/hip_runtime_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -2888,6 +2888,16 @@ hipError_t hipStreamWaitEvent(hipStream_t stream, hipEvent_t event, unsigned int
* @see hipStreamCreateWithFlags
*/
hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int* flags);
/**
* @brief Queries the Id of a stream.
*
* @param[in] stream Stream to be queried
* @param[in,out] flags Pointer to an unsigned long long in which the stream's id is returned
* @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorInvalidHandle.
*
* @see hipStreamCreateWithFlags, hipStreamGetFlags, hipStreamCreateWithPriority, hipStreamGetPriority
*/
hipError_t hipStreamGetId(hipStream_t stream, unsigned long long* streamId);
/**
* @brief Queries the priority of a stream.
*
Expand Down