Skip to content

jaopaulolc/KernelFaRer

Repository files navigation

KernelFaRer

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

by

João P. L. de Carvalho, Braedy Kuzma, Ivan Korostelev, José Nelson Amaral, Christopher Barton, José Moreira, and Guido Araujo.

Please follow the instructions bellow to compile KernelFaRer:

$ git clone https://github.com/jaopaulolc/KernelFaRer.git
$ cd KernelFaRer
KernelFaRer $ cmake -B build -S . -DLLVM_DIR=$(llvm-config --cmakedir)
KernelFaRer $ cmake --build build

For examples, please see C++ examples

Unit tests

Make sure you have lit installed.

$ pip install lit

Then use the helper script to run unit tests:

$ ./scripts/kernelfarer-lit ./lit-tests

TODOs:

  • Enable recognition in the presence of llvm.fmuladd.*

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •