Hello Karl,
I am looking for the elementwise operation for a quick initialization of matrices on the GPU. And I found that viennacl uses the compile-time definitions to make these functions matrix_operations.hpp, line 701-825 . It is pretty concise, yeah, but it really needs a tutorial or some like that to illustrate how to use these functions. They even do not appear in the doxygen document that new comers would have no idea about how to do the function.
Best wishes,
Wenyin