Re: GCC OpenAcc executables problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(adding gcc-help back to Cc:)

On Mon, 4 Jan 2016, Esteban Hernández wrote:
> Thanks Alexander for your answer,
> 
> Attach the phi.c

You have to ensure that 'pi' is copied back from the device by using 'copy' or
'copyout' clause on the 'parallel' directive, because scalar vars are
firstprivate by default.

Alexander

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux