add openclSetDevice API