SWDEV-372153 - Add hipStreamGetDevice API. Add documentation for hip_prof_gen.py. (#3149)
Change-Id: I2cb650e3b2ccf5431f4ed7d7685c4c6532732d44
[ROCm/hip commit: 873911c60f]
This commit is contained in:
committed by
GitHub
parent
bb5bc88311
commit
41e0f4d34d
@@ -2229,6 +2229,17 @@ hipError_t hipStreamGetFlags(hipStream_t stream, unsigned int* flags);
|
||||
* @see hipStreamCreateWithFlags
|
||||
*/
|
||||
hipError_t hipStreamGetPriority(hipStream_t stream, int* priority);
|
||||
/**
|
||||
* @brief Get the device assocaited with the stream
|
||||
*
|
||||
* @param[in] stream stream to be queried
|
||||
* @param[out] hipDevice_t device associated with the stream
|
||||
* @return #hipSuccess, #hipErrorInvalidValue, #hipErrorContextIsDestroyed, #hipErrorInvalidHandle,
|
||||
* #hipErrorNotInitialized, #hipErrorDeinitialized, #hipErrorInvalidContext
|
||||
*
|
||||
* @see hipStreamCreate, hipStreamDestroy, hipDeviceGetStreamPriorityRange
|
||||
*/
|
||||
hipError_t hipStreamGetDevice(hipStream_t stream, hipDevice_t* device);
|
||||
/**
|
||||
* @brief Create an asynchronous stream with the specified CU mask.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user