def METHOD_NAME(np_call, dpt_call, dtype):
    q = get_queue_or_skip()
    skip_if_dtype_not_supported(dtype, q)
    n_seq = 100
    x1 = np.linspace(0, 10, num=n_seq, dtype=dtype)
    x2 = np.linspace(0, 20, num=n_seq, dtype=dtype)
    Xnp = x1 + 1j * x2
    X = dpt.asarray(Xnp, sycl_queue=q)
    Y = dpt_call(X)
    tol = 8 * dpt.finfo(Y.dtype).resolution
    assert_allclose(dpt.asnumpy(Y), np_call(Xnp), atol=tol, rtol=tol)
    Z = dpt.empty_like(X, dtype=Y.dtype)
    dpt_call(X, out=Z)
    assert_allclose(dpt.asnumpy(Z), np_call(Xnp), atol=tol, rtol=tol)