Peng Xiao d9ab22e4ed Fix two bugs related to opencl context.
1. As getDevice will implicitly call setDevice, in getContext we should not need to call it again.
2. Fix an incorrect type casting.
2013-06-12 13:55:20 +08:00
..
2013-03-21 18:37:34 +04:00
2013-06-10 18:37:48 +08:00
2013-06-10 18:37:48 +08:00