def METHOD_NAME(self):
    # Test return of a scalar from a libdevice function
    x = np.arange(0, 200, 2)
    y = np.arange(50, 150)
    z = np.arange(15, 115)
    r = np.zeros_like(x)
    cufunc = cuda.jit(use_sad)
    cufunc[4, 32](r, x, y, z)
    np.testing.assert_array_equal(np.abs(x - y) + z, r)