Re: [ViennaCL-devel] More weird problems

2014-11-08 Thread Karl Rupp
Hi Toby, Thanks! The numerical errors with element-wise operations such as tan() or sin() look okay, that's just numerical noise. The following test cases deserve a closer look, though: test_matrix_matrix_trans_isub_C_float32 test_matrix_matrix_slice_trans_isub_C_float32

Re: [ViennaCL-devel] More weird problems

2014-11-08 Thread Toby St Clere Smithe
Hi Karli, Karl Rupp r...@iue.tuwien.ac.at writes: Yep. So 'C' and 'F' mean C (row-major) layout or Fortran (col-major) layout. Your guess was right about 'iadd' and 'isub': these are simply A += B and A -= B. The values of A and B are given by the _matrix_ bits: the first one describes A, and

Re: [ViennaCL-devel] More weird problems

2014-11-08 Thread Karl Rupp
Hi Toby, Yep. So 'C' and 'F' mean C (row-major) layout or Fortran (col-major) layout. Your guess was right about 'iadd' and 'isub': these are simply A += B and A -= B. The values of A and B are given by the _matrix_ bits: the first one describes A, and the second describes B. So

Re: [ViennaCL-devel] More weird problems

2014-11-08 Thread Karl Rupp
Hi, Still need to look into the GMRES issue... OK. fixed :-) Best regards, Karli -- ___ ViennaCL-devel mailing list ViennaCL-devel@lists.sourceforge.net

Re: [ViennaCL-devel] More weird problems

2014-11-07 Thread Toby St Clere Smithe
Hi Karli, Karl Rupp r...@iue.tuwien.ac.at writes: So it looks like the fix was not that complicated: https://github.com/viennacl/viennacl-dev/commit/b5909a765eef584bf1300f3d6696b095b4a7e6a2 (most of the new lines are additional testing code...) Neat! In addition to matrix operations such as

[ViennaCL-devel] More weird problems

2014-11-05 Thread Toby St Clere Smithe
OK, so 2 more weird problems. The rest of my tests pass (but I still don't quite have complete test coverage). 1. Cache issues continue: On both nVidia and Beignet, I get some error and a segfault like this on sparse gemv: Build Status = -2 ( Err = -11 ) The segfault happens when calling (in

Re: [ViennaCL-devel] More weird problems

2014-11-05 Thread Toby St Clere Smithe
Toby St Clere Smithe m...@tsmithe.net writes: The segfault happens when calling (in ocl/context.hpp): 443 err = clGetProgramBuildInfo(temp, devices_[0].id(), CL_PROGRAM_BUILD_LOG, 0, NULL, ret_val_size); Oh, and the segfault happens in nVidia's OpenCL when it calls strlen somewhere..

Re: [ViennaCL-devel] More weird problems

2014-11-05 Thread Philippe Tillet
I remember us already having a problem with strlen on the cache with your NVidia SDK, which disappeared when you rebooted. Didn't we? 2014-11-05 16:25 GMT-05:00 Toby St Clere Smithe m...@tsmithe.net: Toby St Clere Smithe m...@tsmithe.net writes: The segfault happens when calling (in

Re: [ViennaCL-devel] More weird problems

2014-11-05 Thread Karl Rupp
Hi Toby, OK, so 2 more weird problems. The rest of my tests pass (but I still don't quite have complete test coverage). I fixed a couple of minor problems today, which should finally result in practically full success of the nightly test suite. One of them might be the cause of your first