SST/macro
Protected Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | List of all members
sstmac::sw::blas_api Class Reference

#include <blas_api.h>

Inheritance diagram for sstmac::sw::blas_api:
Inheritance graph
Collaboration diagram for sstmac::sw::blas_api:
Collaboration graph

Protected Member Functions

void init_kernels (sprockit::sim_parameters *params)
 
- Protected Member Functions inherited from sstmac::sw::library
 library (const std::string &libname, software_id sid)
 
 library (const char *prefix, software_id sid)
 
void register_lib (library *lib)
 This function is provided so that libraries can instantiate, register, and use other libraries. More...
 

Protected Attributes

lib_compute_instlib_compute_
 
software_id id_
 
- Protected Attributes inherited from sstmac::sw::api
bool hostcompute_
 
Timertimer_
 
long startcount_
 
long endcount_
 
lib_compute_timecompute_
 
- Protected Attributes inherited from sstmac::sw::library
operating_systemos_
 
key::category key_cat_
 
software_id sid_
 

Static Protected Attributes

static blas_kernelddot_kernel_
 
static blas_kerneldgemm_kernel_
 
static blas_kerneldgemv_kernel_
 
static blas_kerneldaxpy_kernel_
 

Private Member Functions

virtual ImplementAPI(blas_api) public ~blas_api ()
 
virtual void init_os (operating_system *os)
 
virtual void init_factory_params (sprockit::sim_parameters *params)
 
virtual void finalize_init ()
 
void dgemm (int m, int n, int k)
 A(m,n) * B(n,k) = C(m,k) More...
 
void dgemv (int m, int n)
 A(m,n) * X(n) = B(m) More...
 
void daxpy (int n)
 
void ddot (int n)
 
void incoming_event (event *ev)
 

Additional Inherited Members

- Public Member Functions inherited from sstmac::sw::api
 api (const char *name, software_id sid, const key::category &ty)
 
 api (const char *name, software_id sid)
 
virtual ~api ()
 
virtual void init ()
 
virtual void finalize ()
 
timestamp now () const
 
void schedule (timestamp t, event_queue_entry *ev)
 
void schedule_delay (timestamp t, event_queue_entry *ev)
 
virtual void start_api_call ()
 
virtual void end_api_call ()
 
- Public Member Functions inherited from sstmac::sw::library
virtual void unregister_all_libs ()
 
virtual std::string to_string () const
 
virtual std::string lib_name () const
 
virtual void consume_params (sprockit::sim_parameters *params)
 
operating_systemos () const
 
software_id sid () const
 
virtual ~library ()
 
- Public Member Functions inherited from sprockit::factory_type
virtual void init_factory_params (sim_parameters *params)
 

Detailed Description

Definition at line 35 of file blas_api.h.

Constructor & Destructor Documentation

virtual ImplementAPI (blas_api) public sstmac::sw::blas_api::~blas_api ( )
privatevirtual

Member Function Documentation

void sstmac::sw::blas_api::daxpy ( int  n)
private
void sstmac::sw::blas_api::ddot ( int  n)
private
void sstmac::sw::blas_api::dgemm ( int  m,
int  n,
int  k 
)
private

A(m,n) * B(n,k) = C(m,k)

void sstmac::sw::blas_api::dgemv ( int  m,
int  n 
)
private

A(m,n) * X(n) = B(m)

virtual void sstmac::sw::blas_api::finalize_init ( )
privatevirtual

Reimplemented from sstmac::sw::api.

void sstmac::sw::blas_api::incoming_event ( event ev)
inlineprivatevirtual

Implements sstmac::sw::library.

Definition at line 73 of file blas_api.h.

References sstmac::sw::library::incoming_event().

Here is the call graph for this function:

virtual void sstmac::sw::blas_api::init_factory_params ( sprockit::sim_parameters *  params)
privatevirtual

Reimplemented from sstmac::sw::api.

void sstmac::sw::blas_api::init_kernels ( sprockit::sim_parameters *  params)
protected
virtual void sstmac::sw::blas_api::init_os ( operating_system os)
privatevirtual

Reimplemented from sstmac::sw::api.

Member Data Documentation

blas_kernel* sstmac::sw::blas_api::daxpy_kernel_
staticprotected

Definition at line 88 of file blas_api.h.

blas_kernel* sstmac::sw::blas_api::ddot_kernel_
staticprotected

Definition at line 85 of file blas_api.h.

blas_kernel* sstmac::sw::blas_api::dgemm_kernel_
staticprotected

Definition at line 86 of file blas_api.h.

blas_kernel* sstmac::sw::blas_api::dgemv_kernel_
staticprotected

Definition at line 87 of file blas_api.h.

software_id sstmac::sw::blas_api::id_
protected

Definition at line 83 of file blas_api.h.

lib_compute_inst* sstmac::sw::blas_api::lib_compute_
protected

Definition at line 81 of file blas_api.h.


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