This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hiprandsetstream Interface Reference

hiprandsetstream Interface Reference#

HIPFORT API Reference: hipfort_hiprand::hiprandsetstream Interface Reference
hipfort_hiprand::hiprandsetstream Interface Reference

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

Public Member Functions

integer(kind(hiprand_status_success)) function hiprandsetstream_ (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
  • HIPRAND_STATUS_NOT_INITIALIZED if the generator was not initialized
  • HIPRAND_STATUS_SUCCESS if stream was set successfully

Member Function/Subroutine Documentation

◆ hiprandsetstream_()

integer(kind(hiprand_status_success)) function hipfort_hiprand::hiprandsetstream::hiprandsetstream_ ( type(c_ptr), value  generator,
type(c_ptr), value  stream 
)

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