On Mon, 31 Jul 2017, Barry Smith wrote:

> 
>    or should it be tucked away so that every compile of everything doesn't 
> see it? 
> 
> 
> #if defined(PETSC_HAVE_XMMINTRIN_H) && !defined(__CUDACC__)
> #include <xmmintrin.h>
> #endif
> 
>    if an example needs this include couldn't the example just include it 
> directly?

Its presumably required by PetscPrefetchBlock() [which is in public
API] - and PETSC_Prefetch [which is defined in petscconf.h]

Satish

Reply via email to