hipfort
hipfort copied to clipboard
[Feature]: hipStreamGetDevice – not implemented in hipfort, but exists for C/C++
Suggestion Description
For C, the hipStreamGetDevice exists, but not for Fortran. — Expected: It can also be access from Fortran:
https://github.com/ROCm/hip/blob/cbfec76ea8354ba67840a47972942eec1c86777f/include/hip/hip_runtime_api.h#L2770-L2780
/**
* @brief Get the device assocaited with the stream
*
* @param[in] stream stream to be queried
* @param[out] device device associated with the stream
* @returns #hipSuccess, #hipErrorInvalidValue, #hipErrorContextIsDestroyed, #hipErrorInvalidHandle,
* #hipErrorNotInitialized, #hipErrorDeinitialized, #hipErrorInvalidContext
*
* @see hipStreamCreate, hipStreamDestroy, hipDeviceGetStreamPriorityRange
*/
hipError_t hipStreamGetDevice(hipStream_t stream, hipDevice_t* device);
Operating System
No response
GPU
No response
ROCm Component
No response
The generalized version of this issue is that the HIP Runtime hipfort bindings need to be regenerated for ROCm 6.4.