I am getting the same result even if i select GPU like this viennacl::ocl::set_context_device_type(0, viennacl::ocl::gpu_tag());
and in CPU like this viennacl::ocl::set_context_device_type(1, viennacl::ocl::cpu_tag());
my guess this both is running on GPU only i need help in running the code in CPU and need to note the time taken by the both operation. i tried matrix multiplication.
any answers will be appreciated
Thanks in advance.
Last edit: venkatesh karthick 2019-02-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting the same result even if i select GPU like this
viennacl::ocl::set_context_device_type(0, viennacl::ocl::gpu_tag());
and in CPU like this
viennacl::ocl::set_context_device_type(1, viennacl::ocl::cpu_tag());
my guess this both is running on GPU only i need help in running the code in CPU and need to note the time taken by the both operation. i tried matrix multiplication.
any answers will be appreciated
Thanks in advance.
Last edit: venkatesh karthick 2019-02-22
See here; https://sourceforge.net/p/viennacl/discussion/1143678/thread/7b9bdc3bbe/