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

Public Member Functions

void init (unsigned device_index, hc::accelerator acc)
 
void reset ()
 
hipError_t getProperties (hipDeviceProp_t *prop)
 
void waitAllStreams ()
 
void syncDefaultStream (bool waitOnSelf)
 
void reset ()
 
void init (unsigned device_index, hc::accelerator acc)
 
hipError_t getProperties (hipDeviceProp_t *prop)
 

Public Attributes

unsigned _device_index
 
hipDeviceProp_t _props
 
hc::accelerator _acc
 
hsa_agent_t _hsa_agent
 
ihipStream_t_default_stream
 
std::list< ihipStream_t * > _streams
 
unsigned _compute_units
 
StagingBuffer_staging_buffer [2]
 
ihipStream_t::SeqNum_t _stream_id
 
ihipStream_t_null_stream
 
std::mutex _copy_lock [2]
 

Member Function Documentation

hipError_t ihipDevice_t::getProperties ( hipDeviceProp_t prop)
Bug:
: on HCC, isMultiGpuBoard returns True if system contains multiple GPUS (rather than if GPU is on a multi-ASIC board)

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