opencl: Support configuration using set_device interface