"The %s binary does not include support for the CUDA architecture "
"of the selected GPU (device ID #%d, compute capability %d.%d). "
"By default, GROMACS supports all common architectures, so your GPU "
- "might be rare, or some architectures were disabled in the build. ",
- "Consult the install guide for how to use the GMX_CUDA_TARGET_SM and ",
+ "might be rare, or some architectures were disabled in the build. "
+ "Consult the install guide for how to use the GMX_CUDA_TARGET_SM and "
"GMX_CUDA_TARGET_COMPUTE CMake variables to add this architecture.",
gmx::getProgramContext().displayName(), devInfo->id,
devInfo->prop.major, devInfo->prop.minor);
// errors during sanity checks don't propagate.
if ((stat = cudaGetLastError()) != cudaSuccess)
{
- gmx_warning(gmx::formatString("An error occurred while sanity checking device #%d; %s: %s",
- devs[i].id, cudaGetErrorName(stat), cudaGetErrorString(stat)).c_str());
+ gmx_warning("An error occurred while sanity checking device #%d; %s: %s",
+ devs[i].id, cudaGetErrorName(stat), cudaGetErrorString(stat));
}
}
}