Re: [ViennaCL-devel] Question about ViennaCL matrix type

2014-11-05 Thread Karl Rupp
Hi Aanchan, Sorry this might be a newbie question. I was going through qr.cpp under the examples/tutorials directory in gdb. I noticed that as soon as a ViennaCL MatrixType object was created, 7/8 threads were spawned. I've compiled it with OpenCL. Is it OpenCL that decides to create these

Re: [ViennaCL-devel] Segfault running PyViennaCL direct solver tests

2014-11-05 Thread Toby St Clere Smithe
Hey hey, Philippe Tillet phil.til...@gmail.com writes: I cannot reproduce the bug on my machine, so it's probably better if you patch it :) Because a context may be attached to multiple devices, the fix should concatenate the information of each device. line 402 std::string prefix;

[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