1 /*! 2 \file blas.c 3 \brief This file contains GKlib's implementation of BLAS-like routines 4 5 The BLAS routines that are currently implemented are mostly level-one. 6 They follow a naming convention of the type gk_[type][name], where 7 [type] is one of c, i, f, and d, based on C's four standard scalar 8 datatypes of characters, integers, floats, and doubles. 9 10 These routines are implemented using a generic macro template, 11 which is used for code generation. 12 13 \date Started 9/28/95 14 \author George 15 \version\verbatim $Id: blas.c 11848 2012-04-20 13:47:37Z karypis $ \endverbatim 16 */ 17 18 #include <GKlib.h> 19 20 21 22 /*************************************************************************/ 23 /*! Use the templates to generate BLAS routines for the scalar data types */ 24 /*************************************************************************/ 25 GK_MKBLAS(gk_c, char, int) 26 GK_MKBLAS(gk_i, int, int) 27 GK_MKBLAS(gk_i32, int32_t, int32_t) 28 GK_MKBLAS(gk_i64, int64_t, int64_t) 29 GK_MKBLAS(gk_z, ssize_t, ssize_t) 30 GK_MKBLAS(gk_f, float, float) 31 GK_MKBLAS(gk_d, double, double) 32 GK_MKBLAS(gk_idx, gk_idx_t, gk_idx_t) 33 34 35 36 37