Is OpenACC + OpenCL + OpenMP possible on PVF + AMD GPU ?

Hi, my question is that will it be possible to run my Fortran code by PVF Accelerator on desktop with AMD R7 250X GPU, with implementing OpenACC, OpenCL, and OpenMP simultaneously? Thanks.

Hi licsist,

It is possible.

I personally haven’t done OpenACC interoperating with OpenCL on Windows so don’t know what issues you may encounter, but it should be possible.

OpenMP and OpenACC do work together but it can be a bit tricky since you can’t put both directives on the same loop. Instead you need to first parallelize an outer region using OpenMP, set your device number, managed each thread’s device data, then enter an OpenACC compute region.

  • Mat