[petsc-dev] Possible bugs when using TS with ViennaCL

Jed Brown jed at jedbrown.org
Wed Jan 29 08:11:19 CST 2014


Karl Rupp <rupp at mcs.anl.gov> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140129/5858e827/attachment.sig>


More information about the petsc-dev mailing list