Don't crash when multiple devices are passed to create_program