code: def test_fmod(ctx_factory):
      context = ctx_factory()
      queue = cl.CommandQueue(context)
  
      for s in sizes:
          a = cl_array.arange(queue, s, dtype=np.float32) / 10
          a2 = cl_array.arange(queue, s, dtype=np.float32) / 45.2 + 0.1
          b = clmath.fmod(a, a2)
  
          # https://salsa.debian.org/opencl-team/python-pyopencl/-/merge_requests/3#note_383761
          assert (
              np.max(np.abs((np.fmod(a.get(), a2.get()) - b.get())))
              < 1e-4
          )
  
file_path: pyopencl/test/test_clmath.py
imports: import math
  import numpy
  import pytest
  import pyopencl.array
  import pyopencl
  import pyopencl.clmath
  from pyopencl.tools import pytest_generate_tests_for_pyopencl
  from pyopencl.characterize import has_double_support, has_struct_arg_count_bug
label_desc: Use image node_id 4 for calling a global function with example usage: test_fmod(ctx_factory) without return types