Pietro
Pietro

Reputation: 13140

Does OpenMP 4 use OpenCL?

The new OpenMP 4 library now allows to use accelerators such as GPGPU.
Is OpenMP 4 implemented on top of OpenCL for these kind of tasks?

Upvotes: 1

Views: 164

Answers (1)

Paul Jurczak
Paul Jurczak

Reputation: 8127

In some cases, yes. See TI's OpenMP Accelerator Model runtime implementation as an example. This is due to the fact that OpenCL is a mature standard with significant infrastructure. OpenMP accelerator support is new in version 4.0, so vendors are scrambling to add support.

Upvotes: 1

Related Questions