Re: trying out openacc 2.0

2014-12-17 Thread Mark Farnell
But it would be highly unlikely to only build the compiler for the accelerator, 99% of the time you build the host and the accelerator. So why can't we simplify the build process by allowing users to specify the host architecture and list all the accelerators at ./configure then the user only invo

Re: trying out openacc 2.0

2014-12-17 Thread Tobias Burnus
Mark Farnell wrote: > So what parameters will I need to pass to ./configure if I want to > support PTX offloading? Pre-remark: I think that the https://gcc.gnu.org/wiki/Offloading page will be updated, once the support has been merged to the trunk. I think using the triplet "nvptx-unknown-none" i

Re: trying out openacc 2.0

2014-12-16 Thread Mark Farnell
So what parameters will I need to pass to ./configure if I want to support PTX offloading? So if I want to have CPU, KNL and PTX, do I end up building three compilers? And is it true that running in both the offload mode, and the KNL native mode, would require two set of toolchains? Finally, is

Re: trying out openacc 2.0

2014-12-16 Thread Jakub Jelinek
On Wed, Dec 17, 2014 at 08:54:06AM +1300, Mark Farnell wrote: > That's good news. Does it mean that if I want to try out openACC with > KNL and PTX support, then all I need to do is to compile the > gomp-4_0-branch *without* any extra parameters into ./configure ? No. Please read the wiki page T

Re: trying out openacc 2.0

2014-12-16 Thread Mark Farnell
That's good news. Does it mean that if I want to try out openACC with KNL and PTX support, then all I need to do is to compile the gomp-4_0-branch *without* any extra parameters into ./configure ? Also, are other GPUs such as the AMD ATI and the built-in GPUs such as the Intel GPU and AMD fusion

Re: trying out openacc 2.0

2014-12-16 Thread Tobias Burnus
Mark Farnell wrote: > Has OpenACC 2.0 support been merged into the trunk yet? If not, then > is it contained in gomp-4_0-branch? > > If so, what parameters should I pass to ./configure to enable OpenACC > 2.0, and relevant backends such as CUDA, MIC and other GPGPU/manycore > architecture? > > Als

trying out openacc 2.0

2014-12-15 Thread Mark Farnell
Hi, Has OpenACC 2.0 support been merged into the trunk yet? If not, then is it contained in gomp-4_0-branch? If so, what parameters should I pass to ./configure to enable OpenACC 2.0, and relevant backends such as CUDA, MIC and other GPGPU/manycore architecture? Also, I have a feeling that Open