code: def main():
      gpus = cupy.cuda.runtime.getDeviceCount()
      for peerDevice in range(gpus):
          for device in range(gpus):
              if peerDevice == device:
                  continue
              flag = cupy.cuda.runtime.deviceCanAccessPeer(
                  device, peerDevice
              )
              print(
                  f"Can access #{peerDevice} memory from #{device}: "
                  f"{flag == 1}"
              )
  
label_desc: Use image node_id 1 for calling a global function with example usage: main() without return types