code: def get_device_cache_id(device):
      from pyopencl.version import VERSION
  
      platform = device.platform
      return (
          VERSION,
          platform.vendor,
          platform.name,
          platform.version,
          device.vendor,
          device.name,
          device.version,
          device.driver_version,
      )
  
imports: import re
  import os
  import sys
  from dataclasses import dataclass
  from typing import List, Optional, Tuple
  import pyopencl._cl
  import logging
  import hashlib
label_desc: Use image node_id 6 for calling a global function with example usage: get_device_cache_id(device) and returns: VERSION,  platform,  platform,  platform,  device,  device,  device,  device