automatically create CLArrays on the device