hipextstreamcreatewithcumask Interface Reference

hipextstreamcreatewithcumask Interface Reference#

HIPFORT API Reference: hipfort::hipextstreamcreatewithcumask Interface Reference
hipfort::hipextstreamcreatewithcumask Interface Reference

Create an asynchronous stream with the specified CU mask. More...

Public Member Functions

integer(kind(hipsuccess)) function hipextstreamcreatewithcumask_ (stream, cuMaskSize, cuMask)

Detailed Description

Create an asynchronous stream with the specified CU mask.

[in,out]streamPointer to new stream
[in]cuMaskSizeSize of CU mask bit array passed in.
[in]cuMaskBit-vector representing the CU mask. Each active bit represents using one CU. The first 32 bits represent the first 32 CUs, and so on. If its size is greater than physical CU number (i.e., multiProcessorCount member of hipDeviceProp_t), the extra elements are ignored. It is user's responsibility to make sure the input is meaningful.
hipSuccess, hipErrorInvalidHandle, hipErrorInvalidValue

Create a new asynchronous stream with the specified CU mask. stream returns an opaque handle that can be used to reference the newly created stream in subsequent hipStream* commands. The stream is allocated on the heap and will remain allocated even if the handle goes out-of-scope. To release the memory used by the stream, application must call hipStreamDestroy.

See also
hipStreamCreate, hipStreamSynchronize, hipStreamWaitEvent, hipStreamDestroy

Member Function/Subroutine Documentation

◆ hipextstreamcreatewithcumask_()

integer(kind(hipsuccess)) function hipfort::hipextstreamcreatewithcumask::hipextstreamcreatewithcumask_ ( type(c_ptr)  stream,
integer(c_int), value  cuMaskSize,
type(c_ptr), value  cuMask 

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