[petsc-dev] behavior of PetscDefined(PETSC_HAVE_CUDA)

Mark Adams mfadams at lbl.gov
Fri Oct 16 07:59:56 CDT 2020


On Fri, Oct 16, 2020 at 1:05 AM Jed Brown <jed at jedbrown.org> wrote:

> 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.
>

You would want to check this before CI, so live with it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20201016/74df296e/attachment.html>


More information about the petsc-dev mailing list