Blis Library
Blis Library
https://diego.assencio.com/?index=614d73283d49e939ebfb648cfb86819d
-----------
https://connect.ed-diamond.com/GNU-Linux-Magazine/glmf-122/decouverte-de-la-
programmation-parallele-avec-openmp
Configuring OpenMP
We can check whether the OpenMP features are configured into our compiler or not,
using the command
echo |cpp -fopenmp -dM |grep -i open
If OpenMP is not featured in the compiler, we can configure it use using the
command
#apt install libomp-dev
-------------
http://www.ulaff.net/
https://www.amd.com/en/developer/aocl/blis.html
https://github.com/flame/blis/blob/master/docs/BuildSystem.md
Install blis
------------
git clone https://github.com/flame/blis.git
#include "stdio.h"
#include "stdlib.h"
#include "otherstuff.h"
#define BLIS_DISABLE_BLAS_DEFS // disable BLAS prototypes within BLIS.
#include "blis.h"
CBLAS
If you build BLIS with CBLAS enabled and you wish to access CBLAS function
prototypes from within your application, you will have to #include the cblas.h
header separately from blis.h.
#include "blis.h"
#include "cblas.h"
----------------------
Linking against BLIS
Once you have instantiated (configured and compiled, and perhaps installed) a BLIS
library, you can link to it in your application's makefile as you would any other
library. The following is an abbreviated makefile for a small hypothetical
application that has just two external dependencies: BLIS and the standard C math
library. We also link against libpthread since that library has been a runtime
dependency of BLIS since 70640a3 (December 2017).
BLIS_PREFIX = $(HOME)/blis
BLIS_INC = $(BLIS_PREFIX)/include/blis
BLIS_LIB = $(BLIS_PREFIX)/lib/libblis.a
CC = gcc
CFLAGS = -O2 -g -I$(BLIS_INC)
LINKER = $(CC)
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
all: $(OBJS)
$(LINKER) $(OBJS) $(BLIS_LIB) $(OTHER_LIBS) -o my_program.x