code: def test_distrib_nccl_gpu(distributed_context_single_node_nccl):
      device = idist.device()
      _test_every_event_filter_with_engine(device)
      _test_every_event_filter_with_engine_with_dataloader(device)
  
imports: from enum import Enum
  from unittest.mock import MagicMock
  import pytest
  import torch
  import ignite.distributed
  from ignite.engine import Engine, Events
  from ignite.engine.events import CallableEventWithFilter, EventEnum, EventsList
label_desc: Use image node_id 24 for calling a global function with example usage: test_distrib_nccl_gpu(distributed_context_single_node_nccl) without return types