Greetings,

I know I can set a device type with:

viennacl::ocl::set_context_device_type(id, viennacl::ocl::gpu_tag());

but is there a where for me to subsequently change that to `cpu_tag()`
within the same main() function?  I see I can change devices with:

viennacl::ocl::current_context().switch_device(1);

but, if I understand correctly, that just switches be devices of the same
type.

Regards,
Charles
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
ViennaCL-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/viennacl-devel

Reply via email to