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:
parent
cd5cf6d614
commit
5205e68963
20
configure.ac
20
configure.ac
@ -128,6 +128,26 @@ case ${ac_LAPACK} in
|
||||
AC_DEFINE([USE_LAPACK],[1],[use LAPACK]);;
|
||||
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
|
||||
AC_ARG_ENABLE([fermion-reps],
|
||||
[AC_HELP_STRING([--enable-fermion-reps=yes|no], [enable extra fermion representation support])],
|
||||
|
Loading…
Reference in New Issue
Block a user