ddemidov / vexcl

VexCL is a C++ vector expression template library for OpenCL/CUDA/OpenMP
http://vexcl.readthedocs.org
MIT License
702 stars 82 forks source link

Implement Proto transform for result type deduction #53

Closed ddemidov closed 11 years ago

ddemidov commented 11 years ago

This will allow to achieve several things:

ddemidov commented 11 years ago

Done. I suspect there will be problems with OpenCL vector types (e.g. cl_double2), as std::common_type<T1,T2> (used in return type deduction) probably does not support those. It should be possible to provide a specification of std::common_type, but there could be other problems.

Closing this for now.