AC_ARG_WITH([nvcc-gencode],
[AS_HELP_STRING([--with-nvcc-gencode=arch,code],
[Defines target GPU architecture,
see nvcc -gencode option for details])],
although the sample strings are of the form e.g. ARCH7="-gencode=arch=compute_52,code=sm_52".
I think the help text should be tweaked to say --with-nvcc-gencode="-gencode=arch,code", or potentially the mechanism tweaked to automatically add -gencode=... to all flags.
Looking at https://github.com/openucx/ucc/blob/cf97156bfa8880220d62de42d11b6bcce76905c6/config/m4/cuda.m4#L30
it says
although the sample strings are of the form e.g.
ARCH7="-gencode=arch=compute_52,code=sm_52"
.I think the help text should be tweaked to say
--with-nvcc-gencode="-gencode=arch,code"
, or potentially the mechanism tweaked to automatically add-gencode=...
to all flags.