3 ms·
Man, it'd be super sweet if we could get an OpenCL frontend for this target.
by wyldfire 11y ago
Man, it'd be super sweet if we could get an OpenCL frontend for this target.
- jeffbush 11y agoTechnically it already supports OpenCL, as it has an LLVM backend and Clang port. However, it will generate scalar code that doesn't take advantage of the vector unit. To support it properly, it would need extra passes for SPMD vectorization.
- wyldfire 11y agoI think there's a lot of follow-through beyond just llvm and clang support in order to make a full OCL platform -- device enumeration, etc. Plus I don't think clang distributes a complete front end (headers/type defns etc). There's some open source projects that could supplement this, though.