LIKWID.jl

Author JuliaPerf
Popularity
5 Stars
Updated Last
1 Year Ago
Started In
October 2020

LIKWID.jl

Like I Knew What I am Doing

LIKWID.jl is a Julia wrapper for LIKWID.

Installation

First install likwid following https://github.com/RRZE-HPC/likwid#download-build-and-install, and then use the Julia package manger to install ]add LIKWID.

Example

using LIKWID
using LinearAlgebra

A = rand(128, 64)
B = rand(64, 128)
C = zeros(128, 128)

LIKWID.Marker.startregion("matmul")
mul!(C, A, B)
LIKWID.Marker.stopregion("matmul")

Then run likwid-perfctr with --marker like: likwid-perfctr ... --marker julia ....

License

LIKWID.jl is licensed under the MIT license.