Lift
Library of parallel computing primitives for GPUs and multi-core CPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
lift::compute_device_host Struct Reference

#include <compute_device_host.h>

Inheritance diagram for lift::compute_device_host:
lift::compute_device

Public Member Functions

 compute_device_host (uint32 num_threads=uint32(-1))
 
virtual target_system get_system (void) override
 
virtual void enable (void) override
 
virtual const char * get_name (void) override
 

Static Public Member Functions

static bool runtime_initialize (std::string &ret)
 
static uint32 available_threads ()
 

Public Attributes

const cpu_config config
 
const uint32 num_threads
 

Detailed Description

Definition at line 81 of file compute_device_host.h.

Constructor & Destructor Documentation

lift::compute_device_host::compute_device_host ( uint32  num_threads = uint32(-1))
inline

Definition at line 89 of file compute_device_host.h.

Member Function Documentation

static uint32 lift::compute_device_host::available_threads ( )
inlinestatic

Definition at line 115 of file compute_device_host.h.

virtual void lift::compute_device_host::enable ( void  )
inlineoverridevirtual

Implements lift::compute_device.

Definition at line 101 of file compute_device_host.h.

virtual const char* lift::compute_device_host::get_name ( void  )
inlineoverridevirtual

Implements lift::compute_device.

Definition at line 104 of file compute_device_host.h.

virtual target_system lift::compute_device_host::get_system ( void  )
inlineoverridevirtual

Implements lift::compute_device.

Definition at line 96 of file compute_device_host.h.

static bool lift::compute_device_host::runtime_initialize ( std::string &  ret)
inlinestatic

Definition at line 109 of file compute_device_host.h.

Member Data Documentation

const cpu_config lift::compute_device_host::config

Definition at line 83 of file compute_device_host.h.

const uint32 lift::compute_device_host::num_threads

Definition at line 87 of file compute_device_host.h.


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