Karl Rupp <[email protected]> writes: > There is only a little bit of code in > src/sys/threadcomm/impls/openmp/tcopenmp.c > src/sys/threadcomm/impls/openmp/tcopenmpimpl.h > in addition to the registration of OpenMP functionality in > src/sys/threadcomm/interface/threadcommregi.c > I really don't see how this could affect the execution of GPU code if > the threadcomm-default 'nothread' is used.
There is a bunch of conditional compilation guarded by the (nonconforming style) PETSC_THREADCOMM_ACTIVE. Seems to me it's more likely that something bad happens in one of those blocks than that -fopenmp causes the compiler to misbehave.
pgpDLhFjrsbeS.pgp
Description: PGP signature
