rocrand_set_stream Interface Reference

rocrand_set_stream Interface Reference#

HIPFORT API Reference: hipfort_rocrand::rocrand_set_stream Interface Reference
hipfort_rocrand::rocrand_set_stream Interface Reference

Sets the current stream for kernel launches. More...

Public Member Functions

integer(kind(rocrand_status_success)) function rocrand_set_stream_ (generator, stream)
 

Detailed Description

Sets the current stream for kernel launches.

Sets the current stream for all kernel launches of the generator. All functions will use this stream.

Parameters
generator- Generator to modify
stream- Stream to use or NULL for default stream
Returns
  • ROCRAND_STATUS_NOT_CREATED if the generator wasn't created
  • ROCRAND_STATUS_SUCCESS if stream was set successfully

Member Function/Subroutine Documentation

◆ rocrand_set_stream_()

integer(kind(rocrand_status_success)) function hipfort_rocrand::rocrand_set_stream::rocrand_set_stream_ ( type(c_ptr), value  generator,
type(c_ptr), value  stream 
)

The documentation for this interface was generated from the following file: