HIP: Heterogenous-computing Interface for Portability
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | Friends | List of all members
ihipStream_t Class Reference

Public Types

typedef uint64_t SeqNum_t
 

Public Member Functions

 ihipStream_t (unsigned device_index, hc::accelerator_view av, unsigned int flags)
 
void copySync (LockedAccessor_StreamCrit_t &crit, void *dst, const void *src, size_t sizeBytes, unsigned kind)
 
void locked_copySync (void *dst, const void *src, size_t sizeBytes, unsigned kind)
 
void copyAsync (void *dst, const void *src, size_t sizeBytes, unsigned kind)
 
bool lockopen_preKernelCommand ()
 
void lockclose_postKernelCommand (hc::completion_future &kernel_future)
 
int preCopyCommand (LockedAccessor_StreamCrit_t &crit, ihipSignal_t *lastCopy, hsa_signal_t *waitSignal, ihipCommand_t copyType)
 
void locked_reclaimSignals (SIGSEQNUM sigNum)
 
void locked_wait (bool assertQueueEmpty=false)
 
SIGSEQNUM locked_lastCopySeqId ()
 
void wait (LockedAccessor_StreamCrit_t &crit, bool assertQueueEmpty=false)
 
SIGSEQNUM lastCopySeqId (LockedAccessor_StreamCrit_t &crit)
 
ihipSignal_tallocSignal (LockedAccessor_StreamCrit_t &crit)
 
ihipDevice_tgetDevice () const
 

Public Attributes

SeqNum_t _id
 
hc::accelerator_view _av
 
unsigned _flags
 

Friends

std::ostream & operator<< (std::ostream &os, const ihipStream_t &s)
 

The documentation for this class was generated from the following files: