Re: [ViennaCL-devel] Examples of importing raw buffers

2016-03-01 Thread Karl Rupp
Hi Sumit, sorry, I overlooked this email in my mailers threaded view. > I have a question here: > a.) Suppose I have three raw buffers (let us assume float); I would like > to do something like this: > v = (I- a) / (W-a+EPS), where I, W and a are the three buffers and EPS > is a scalar to preve

Re: [ViennaCL-devel] Examples of importing raw buffers

2016-01-29 Thread Sumit Kumar
Hey KarlI have a question here:a.) Suppose I have three raw buffers (let us assume float); I would like to do something like this:v = (I- a) / (W-a+EPS), where I, W and a are the three buffers and EPS is a scalar to prevent a division by 0 operation. b.) I know I can wrap these buffers to Eigen