Skip to content

Commit

Permalink
Merge pull request #57 from calebyhan/papi
Browse files Browse the repository at this point in the history
PAPI instrumentation
  • Loading branch information
mgates3 authored Apr 15, 2024
2 parents 92ad3b4 + ef492bf commit 6515819
Show file tree
Hide file tree
Showing 53 changed files with 1,386 additions and 0 deletions.
8 changes: 8 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ ifneq ($(findstring darwin, $(ostype)),)
macos = 1
endif

#-------------------------------------------------------------------------------
ifeq (${papi},1)
CXXFLAGS += -DBLAS_HAVE_PAPI -I ${PAPI_DIR}/include
LDFLAGS += -L ${PAPI_DIR}/lib -Wl,-rpath,${abspath ${PAPI_DIR}/lib}
LIBS += -lsde
TEST_LIBS += -lpapi
endif

#-------------------------------------------------------------------------------
# if shared
ifneq ($(static),1)
Expand Down
2 changes: 2 additions & 0 deletions include/blas.hh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

#include "blas/defines.h"

#include "blas/counter.hh"

// Version is updated by make_release.py; DO NOT EDIT.
// Version 2023.11.05
#define BLASPP_VERSION 20231105
Expand Down
Loading

0 comments on commit 6515819

Please sign in to comment.