Structural hints are stored in records defined by the oski_structhint_t type, below, and stored with the matrix (see oski_matstruct_t).
Workload hints are stored as (simulated) traces with the matrix (see oski_matstruct_t).
#include <oski/common.h>
Go to the source code of this file.
Data Structures | |
struct | oski_structhint_t |
Structural hint record. More... | |
void | oski_InitStructHint (oski_structhint_t *hint) |
Initialize a structural hint record. | |
void | oski_ResetStructHint (oski_structhint_t *hint) |
Reset a structural hint record. | |
void | oski_ResetStructHintDiaglens (oski_structhint_t *hint) |
Clears the diagonal length block list, and resets the count of number of diagonal lengths to 0. | |
int | oski_AllocStructHintDiaglens (oski_structhint_t *hint, int num_lens) |
Attempt to allocate space for some number of diagonal lengths. | |
void | oski_ResetStructHintBlocksizes (oski_structhint_t *hint) |
Clears the dense block size list, and resets the count of number of block sizes to 0. | |
int | oski_AllocStructHintBlocksizes (oski_structhint_t *hint, int num_sizes) |
Attempt to allocate space of 'num_sizes' block sizes. | |
Defines | |
#define | INC_OSKI_STRUCTHINT_H |
oski/structhint.h has been included. |
|
Attempt to allocate space of 'num_sizes' block sizes.
If num_sizes is 0, then no space is allocated.
|
|
Attempt to allocate space for some number of diagonal lengths.
If num_lens is 0, then no space is allocated.
|
|
Initialize a structural hint record.
|
|
Reset a structural hint record.
|