[petsc-dev] behavior of PetscDefined(PETSC_HAVE_CUDA)

Jed Brown jed at jedbrown.org
Fri Oct 16 00:05:02 CDT 2020


Barry Smith <bsmith at petsc.dev> writes:

>   Could it error if the input starts with PETS_ to prevent inadvertent mistakes hanging around for years?

Source checks could warn, but cpp macros can't do substring matching.


More information about the petsc-dev mailing list