Set explicit workload hints.
[Public Interface]


Files

file  structhint.h
 Structural hint implementation.

Data Structures

struct  oski_structhint_t
 Structural hint record. More...

Defines

#define ARGS_NONE   ((int)0)
 Use when not providing arguments with a structural hint (see Set explicit workload hints.).

Functions

int oski_SetHint (oski_matrix_t A_tunable, oski_tunehint_t hint,...)
 Set a matrix structural hint for subsequent tuning.
int oski_SetHintMatMult (oski_matrix_t A_tunable, oski_matop_t opA, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, const oski_vecview_t y_view, int num_calls)
 Workload hint for the kernel operation oski_MatMult.
int oski_SetHintMatTrisolve (oski_matrix_t T_tunable, oski_matop_t opT, oski_value_t alpha, const oski_vecview_t x_view, int num_calls)
 Workload hint for the kernel operation oski_MatTrisolve.
int oski_SetHintMatTransMatMult (oski_matrix_t A_tunable, oski_ataop_t opA, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, const oski_vecview_t y_view, const oski_vecview_t t_view, int num_calls)
 Workload hint for the kernel operation oski_MatTransMatMult.
int oski_SetHintMatMultAndMatTransMult (oski_matrix_t A_tunable, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, const oski_vecview_t y_view, oski_matop_t opA, oski_value_t omega, const oski_vecview_t w_view, oski_value_t zeta, const oski_vecview_t z_view, int num_calls)
 Workload hint for the kernel operation oski_MatMultAndMatTransMult.
int oski_SetHintMatPowMult (oski_matrix_t A_tunable, oski_matop_t opA, int power, oski_value_t alpha, const oski_vecview_t x_view, oski_value_t beta, const oski_vecview_t y_view, const oski_vecview_t T_view, int num_calls)
 Workload hint for the kernel operation oski_MatPowMult.


Function Documentation

int oski_SetHint oski_matrix_t  A_tunable,
oski_tunehint_t  hint,
  ...
 

Set a matrix structural hint for subsequent tuning.

If an error occurs (e.g., bad arguments), then the hint record is unchanged.

Precondition:
A_tunable's structural hint field must have been initialized by a call to oski_InitStructHint().
Todo:
Restructure so that va_end() is always called.

Attempt to allocate space for this list. If it fails, we still record that there is a mix of block sizes present, but do not record the list. This behavior is OK because the implementation is free to regard/disregard hints as desired.

Attempt to allocate space for this list. If it fails, we still record that there is a mix of block sizes present, but do not record the list. This behavior is OK because the implementation is free to regard/disregard hints as desired.

int oski_SetHintMatMult oski_matrix_t  A_tunable,
oski_matop_t  opA,
oski_value_t  alpha,
const oski_vecview_t  x_view,
oski_value_t  beta,
const oski_vecview_t  y_view,
int  num_calls
 

Workload hint for the kernel operation oski_MatMult.

Note:
Returns with no action when num_calls <= 0.

int oski_SetHintMatTransMatMult oski_matrix_t  A_tunable,
oski_ataop_t  opA,
oski_value_t  alpha,
const oski_vecview_t  x_view,
oski_value_t  beta,
const oski_vecview_t  y_view,
const oski_vecview_t  t_view,
int  num_calls
 

Workload hint for the kernel operation oski_MatTransMatMult.

Note:
Returns with no action when num_calls <= 0.


Generated on Wed Sep 19 16:41:23 2007 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.4.6