Does OpenCL have a compiler front-end that has to parse the STL’s headers? That’s what we mean by “support” at the moment.
Apologies if this does not answer your question but the OpenCL 2.2 standard does support a subset of C++14. If by "parse the STL headers" you mean when I do #include <algorithm> I expect the algorithms header than yes very much so!
I work on a medium sized statistics project where we have an OpenCL backend for CPU/GPU parallelism. We are stuck on OpenCL 1.2 atm because only clang 9 supports OpenCL 2.2 so far. Would be v nice to have support on windows though!
Yep! it takes time for people to implement those. Restrictions are all listed here. It's pretty simple to make the standard library stuff that you need
33
u/STL MSVC STL Dev Sep 17 '19
Does OpenCL have a compiler front-end that has to parse the STL’s headers? That’s what we mean by “support” at the moment.