Julia interface for LIKWID
The HPC-focused Julia programming language community grows day by day. Julia is developed by the Julia Lab at MIT’s Computer Science and Artificial Intelligence Laboratory (CSAIL). Valentin Churavy, graduate student at MIT, created an interface to the LIKWID tool suite and library, developed by the Software&Tools group of NHR@FAU. The wrapper allows users to measure hardware performance metrics for code regions in their Julia application.
For code and documentation, please check https://github.com/JuliaPerf/LIKWID.jl
Example code to measure matrix matrix multiplication:
using Test
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")