On 11/04/14 08:54, Bernd Schmidt wrote:
Note that the intention is not to support Fortran (or any other
language) directly targetting ptx code. The only way it's supposed to be
used is as an accelerator for OpenACC offloading.
Right. To reiterate for everyone, offloading is the goal of the nvptx
port. Normal C, C++, Fortran code really isn't interesting, though the
direction the hardware is going should allow more and more C, C++ &
Fortran code to be used as-is on the GPU.
Bernd has done a fair amount of work to allow normal-ish C, C++ &
Fortran code to run, that's really been to allow running GCC's testsuite
to shake out the first level bugs in the ptx support.
Jeff