Hey, > 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?
sounds reasonable - provided that it makes our codes considerably more compact and easier to maintain. (Just keep in mind that the downside is that sizeof(statement_node) increases accordingly, thus making data less local). Best regards, Karli ------------------------------------------------------------------------------ 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