[ViennaCL-devel] Help in Interfacing another BLAS library?

2015-10-30 Thread Oswin Krause
Hi, I am currently investigating whether ViennaCL can be used as a possible GPU backend for our linear Algebra as part of the Machine Learning Library Shark. We started by using boost::ublas but then decided to reimplement it in a better way(e.g. we dropped about 70% of ublas code, redesigned

Re: [ViennaCL-devel] Help in Interfacing another BLAS library?

2015-10-31 Thread Oswin Krause
Hi Karl, Hi Sumit, Thanks for the quick replies > > Unfortunately, C++ template metaprogramming is not very friendly to > exchanging library interfaces at this point, free functions would > be a lot easier. I know, I have looked into the interfaces and figured that there might be some rough edge

Re: [ViennaCL-devel] Help in Interfacing another BLAS library?

2015-10-31 Thread Oswin Krause
Hi, > FYI: ViennaCL 2.x will provide all functionality via a shared C > library in order to make cases such as the one you describe much > easier. This means that there will be stable function names for all > operations. An optional C++ layer will sit on top, rather than the > other way round as

Re: [ViennaCL-devel] Performance GPU/CPU weirdness

2017-02-17 Thread Oswin Krause
Hi! Compiling the kernels for opencl takes time. try to measure the second time you compute something. On 2017-02-17 17:27, Sensei wrote: > Hi! > > I am new to the OpenCL/GPU world, and I probably expected too much > from it. I am computing the norm_1 of a vector, on the CPU and GPU, > and I ha

Re: [ViennaCL-devel] Performance GPU/CPU weirdness

2017-02-18 Thread Oswin Krause
Hi, I would argue you have some serious problem with your setup if copying of 1MB takes time in the order of minutes (and even if its milliseconds, i would consider this as way too much). I am also concerned that your new cpu timing is 0. that resizing takes longer on a gpu is expected as you