hipextstreamcreatewithcumask Interface Reference#
hipfort::hipextstreamcreatewithcumask Interface Reference
Creates an asynchronous stream with the specified CU mask. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipextstreamcreatewithcumask_ (stream, cumasksize, cumask) |
Detailed Description
Creates an asynchronous stream with the specified CU mask.
- Parameters
-
[in,out] stream - Pointer to new stream [in] cuMaskSize - Size of CU mask bit array passed in. [in] cuMask - Bit-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.
- Returns
hipSuccess,hipErrorInvalidHandle,hipErrorInvalidValue
Creates 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_int32_t), value | cumasksize, | ||
| type(c_ptr), value | cumask | ||
| ) |
The documentation for this interface was generated from the following file: