123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #ifndef __BLAS_MODEL_H__
- #define __BLAS_MODEL_H__
- #include <starpu.h>
- double gemm_cost(starpu_buffer_descr *descr);
- static struct starpu_perfmodel_t sgemm_model = {
- .cost_model = gemm_cost,
- .type = STARPU_HISTORY_BASED,
- #ifdef STARPU_ATLAS
- .symbol = "sgemm_atlas"
- #elif defined(STARPU_GOTO)
- .symbol = "sgemm_goto"
- #else
- .symbol = "sgemm"
- #endif
- };
- static struct starpu_perfmodel_t sgemm_model_common = {
- .cost_model = gemm_cost,
- .type = STARPU_COMMON,
- };
- #endif
|