CCES Unicamp

KernelFaRer: Replacing Native-Code Idioms with High-Performance Library Calls

N-body simulations and trajectory analysis rely on the calculation of attributes that depend on KernelFaRer is a pattern-matching framework that extends LLVM’s PatternMatch to capture code idioms (e.g. GEMM and SY2K) and replace them with calls to high-performance implementations of such idioms. KernelFaRer can replace idioms with calls to CBLAS — a standard interface across popular linear algebra libraries (e.g. MKL, ESSL, OpenBLAS, and BLIS) —, Eigen via a custom runtime, and LLVM IR’s matrix-multiply intrinsics.

https://github.com/jaopaulolc/KernelFaRer

 

Related posts

Self-tearing and self-peeling of folded graphene nanoribbons

cces cces

Transient dynamic analysis of generally anisotropic materials using the boundary element method

cces cces

Failure analysis of adhesively bonded composite joints using 3D BEM formulation

cces cces