How to use C++ templates in OpenCL kernels?

前端 未结 6 1732
猫巷女王i
猫巷女王i 2020-12-24 08:53

I\'m a novice in OpenCL.

I have an algorithm which uses templates. It worked well with OpenMP parallelization but now the amount of data has grown and the only way t

6条回答
  •  感情败类
    2020-12-24 09:34

    PyOpenCL is now using Mako as it's template engine. http://www.makotemplates.org/

提交回复
热议问题