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 thes

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

2014-11-05 Thread Toby St Clere Smithe
Hey hey, Philippe Tillet 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; > for(std::vector< v

[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 o

Re: [ViennaCL-devel] More weird problems

2014-11-05 Thread Toby St Clere Smithe
Toby St Clere Smithe 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.. Oh, wait.. A

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 : > Toby St Clere Smithe > writes: > > The segfault happens when calling (in ocl/context.hpp): > > > > 443 e

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

Re: [ViennaCL-devel] More weird problems

2014-11-05 Thread Toby St Clere Smithe
Philippe Tillet writes: > I remember us already having a problem with strlen on the cache with your > NVidia SDK, which disappeared when you rebooted. Didn't we? Yes, and I suppose in this case the module reload has had the same effect. But I wish there there could be some way to tell whether the

Re: [ViennaCL-devel] More weird problems

2014-11-05 Thread Toby St Clere Smithe
Hi Karli, Karl Rupp writes: > 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 item, which showed up as build errors on NVIDIA > GPUs. Yes, and cf my other mail!.. > V