def assert_array_max_ulp(a, b, maxulp=1, dtype=None):
 numpy.testing.assert_array_max_ulp(cupy.asnumpy(a), cupy.asnumpy(b), maxulp=maxulp, dtype=dtype)

def assert_array_max_ulp ( a , b , maxulp = 1 , dtype = None ) : numpy . testing . assert_array_max_ulp ( cupy . asnumpy ( a ) , cupy . asnumpy ( b ) , maxulp = maxulp , dtype = dtype )
check that all items of arrays differ in at most n units in the last place .