1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-09 23:45:36 +00:00

RocTX, NVTX, text based self profiling

This commit is contained in:
Peter Boyle 2022-08-31 17:34:09 -04:00
parent cd5cf6d614
commit 5205e68963

View File

@ -128,6 +128,26 @@ case ${ac_LAPACK} in
AC_DEFINE([USE_LAPACK],[1],[use LAPACK]);; AC_DEFINE([USE_LAPACK],[1],[use LAPACK]);;
esac esac
############### tracing
AC_ARG_ENABLE([tracing],
[AC_HELP_STRING([--enable-tracing=none|nvtx|roctx|timer], [enable tracing])],
[ac_TRACING=${enable_tracing}], [ac_TRACING=none])
case ${ac_TRACING} in
nvtx)
AC_DEFINE([GRID_TRACING_NVTX],[1],[use NVTX])
LIBS="${LIBS} -lnvToolsExt64_1"
;;
roctx)
AC_DEFINE([GRID_TRACING_ROCTX],[1],[use ROCTX])
LIBS="${LIBS} -lroctx64"
;;
timer)
AC_DEFINE([GRID_TRACING_TIMER],[1],[use TIMER]);;
*)
AC_DEFINE([GRID_TRACING_NONE],[1],[no tracing]);;
esac
############### fermions ############### fermions
AC_ARG_ENABLE([fermion-reps], AC_ARG_ENABLE([fermion-reps],
[AC_HELP_STRING([--enable-fermion-reps=yes|no], [enable extra fermion representation support])], [AC_HELP_STRING([--enable-fermion-reps=yes|no], [enable extra fermion representation support])],