Path: blob/devel/elmergrid/src/metis-5.1.0/GKlib/blas.c
3206 views
/*!1\file blas.c2\brief This file contains GKlib's implementation of BLAS-like routines34The BLAS routines that are currently implemented are mostly level-one.5They follow a naming convention of the type gk_[type][name], where6[type] is one of c, i, f, and d, based on C's four standard scalar7datatypes of characters, integers, floats, and doubles.89These routines are implemented using a generic macro template,10which is used for code generation.1112\date Started 9/28/9513\author George14\version\verbatim $Id: blas.c 11848 2012-04-20 13:47:37Z karypis $ \endverbatim15*/1617#include <GKlib.h>18192021/*************************************************************************/22/*! Use the templates to generate BLAS routines for the scalar data types */23/*************************************************************************/24GK_MKBLAS(gk_c, char, int)25GK_MKBLAS(gk_i, int, int)26GK_MKBLAS(gk_i32, int32_t, int32_t)27GK_MKBLAS(gk_i64, int64_t, int64_t)28GK_MKBLAS(gk_z, ssize_t, ssize_t)29GK_MKBLAS(gk_f, float, float)30GK_MKBLAS(gk_d, double, double)31GK_MKBLAS(gk_idx, gk_idx_t, gk_idx_t)32333435363738