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

hipextstreamgetcumask Interface Reference

hipextstreamgetcumask Interface Reference#

HIPFORT API Reference: hipfort::hipextstreamgetcumask Interface Reference
hipfort::hipextstreamgetcumask Interface Reference

Get CU mask associated with an asynchronous stream. More...

Public Member Functions

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

Detailed Description

Get CU mask associated with an asynchronous stream.

Parameters
[in]streamstream to be queried
[in]cuMaskSizenumber of the block of memories (uint32_t *) allocated by user
[out]cuMaskPointer to a pre-allocated block of memories (uint32_t *) in which the stream's CU mask is returned. The CU mask is returned in a chunck of 32 bits where each active bit represents one active CU
Returns
hipSuccess, hipErrorInvalidHandle, hipErrorInvalidValue
See also
hipStreamCreate, hipStreamSynchronize, hipStreamWaitEvent, hipStreamDestroy

Member Function/Subroutine Documentation

◆ hipextstreamgetcumask_()

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

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