Closed byzhang closed 10 years ago
Let's add some more justification. OpenCL is cross platform, so it could simplify the cpu code and gpu code to some extent. And OpenCL on CPU is usually comparable with OpenMP, and OpenCL on AMD is comparable with Cuda on Nvidia.
@zhangxiangxiao , thanks for the answer. Any eta on timeline? And is expression template in your plan?
No I current do not want to do expression template in the library. But I do want to add Tensor imports/exports for libraries like Eigen3 and uBLAS so that you can use expression template by yourself.
It is planned after CPU and CUDA versions are done.
That being said, you can program an OpenCL allocator yourself and template Storage on it, so that you can have a Tensor type for OpenCL right away.