1 # bend-blas: BLAS, LAPACK and cuBLAS for Bend 2, as one def per routine 2 # on Array, and a shaped layer over them. This file is the 3 # package's entry, so that one publish carries the four; import the 4 # file you need: 5 # import bend-blas-lapack@/blas.bend as B # CBLAS: sgemm, sgemv, sdot, .. 6 # import bend-blas-lapack@/lapack.bend as L # sgesv, spotrf, sgesvd, ssyev, .. 7 # import bend-blas-lapack@/cublas.bend as C # the same on the GPU, device buffers 8 # import bend-blas-lapack@/mat.bend as M # Mat, Vec: the shapes checked 9 # A program pays only for the effects it reaches. See README.md. 10 import Base 11 import ./blas.bend as Blas 12 import ./lapack.bend as Lapack 13 import ./cublas.bend as Cublas 14 import ./mat.bend as Mat