def METHOD_NAME(np_call, dpt_call, dtype):
    q = get_queue_or_skip()
    skip_if_dtype_not_supported(dtype, q)
    n_seq = 100
    n_rep = 137
    Xnp = np.linspace(-99.9, 99.9, num=n_seq, dtype=dtype)
    X = dpt.asarray(np.repeat(Xnp, n_rep), dtype=dtype, sycl_queue=q)
    Y = dpt_call(X)
    assert_allclose(dpt.asnumpy(Y), np.repeat(np_call(Xnp), n_rep))
    Z = dpt.empty_like(X, dtype=dtype)
    dpt_call(X, out=Z)
    assert_allclose(dpt.asnumpy(Z), np.repeat(np_call(Xnp), n_rep))