Hi all,

I'm rewriting my test suite, and am currently getting exceptions from
the scheduler when trying to do something like this pseudo-code:

  A = matrix
  B = unary_sqrt(A)
  C = A + B

The relevant exception is line 252 of scheduler/execute_axbx.hpp (I'm at
commit ca0c4d), and my statement looks like this:

Node 0: LHS: DOUBLE_TYPE, DENSE_MATRIX_TYPE (0x167a880), OP: 
OPERATION_BINARY_ASSIGN_TYPE, RHS: COMPOSITE_OPERATION_FAMILY(1)
 Node 1: LHS: DOUBLE_TYPE, DENSE_MATRIX_TYPE (0xae9260), OP: 
OPERATION_BINARY_ADD_TYPE, RHS: COMPOSITE_OPERATION_FAMILY(2)
  Node 2: LHS: DOUBLE_TYPE, DENSE_MATRIX_TYPE (0xae9260), OP: 
OPERATION_UNARY_SQRT_TYPE, RHS: INVALID_TYPE_FAMILY

Because of the exception text, it looks like this kind of thing isn't
supported right now. Should I just force PyViennaCL to create an
explicit temporary when a composite operation node includes a unary
operation?

Cheers,


Toby


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to