A clearer classification :
OPERATION_FUNCTION_SUB_TYPE_FAMILY (norm, prod, inner_prod, etc...)
OPERATION_ELEMENT_FUNCTION_SUB_TYPE_FAMILY (abs, pow, etc)
OPERATION_ELEMENT_OPERATOR_SUB_TYPE_FAMILY(+, ==, >, etc...)
Philippe
2013/10/18 Philippe Tillet <phil.til...@gmail.com>
> Hello,
>
> Currently, there are only two families :
> UNARY_FAMILY
> and
> BINARY_FAMILY
>
> In the generator, I have to do silly checks using giant ORs to check
> whether the operator is a product operator, an elementwise operator, an
> elementwise function...
>
> I'm thinking about introducing an subfamily_type, which contains this
> information. Does this sound reasonable to you?
>
> Philippe
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel