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
Hi Charles,
sorry for the late response. Currently there is no way of getting the
internal index. You can, however, edit viennacl/ocl/backend.hpp and add
a public member function in viennacl::ocl::backend returning the index.
Best regards,
Karli
On 01/29/2016 04:00 PM, Charles Determan wrote
While trying to figure out the device index I thought the following would
work:
viennacl::ocl::current_context().current_device_id_
but apparently the `current_device_id_` is private (which didn't appear to
be the case in the context.hpp file). Perhaps a simple method for its'
accession? If thi