code: def set_global_device_type(device_type):
      GlobalSettings().device_type = DeviceType.from_str(device_type)
  
imports: from cuml.internals.global_settings import GlobalSettings
  from cuml.internals.device_type import DeviceType
label_desc: Use image node_id 1 for calling a global function with example usage: set_global_device_type(device_type) without return types