oneapi::mkl::stats::kurtosis with User-provided Mean

Entry point to compute the array of kurtosis values with a mean provided by the user.

Syntax

Buffer API

template<method Method = method::fast, typename Type, layout ObservationsLayout>
void kurtosis(sycl::queue& queue,
    sycl::buffer<Type, 1> mean,
    const dataset<ObservationsLayout, sycl::buffer<Type, 1>>& data,
    sycl::buffer<Type, 1> kurtosis);

USM API

template<method Method = method::fast, typename Type, layout ObservationsLayout>
sycl::event kurtosis(sycl::queue& queue,
    Type* mean,
    const dataset<ObservationsLayout, Type*>& data,
    Type* kurtosis,
    const sycl::vector_class<sycl::event> &dependencies = {});

Include Files

  • oneapi/mkl/stats.hpp

Template Parameters

Input Parameters

Name

Type

Description

queue

sycl::queue&

Valid sycl::queue, calls of the oneapi::mkl::stats::kurtosis() routine submits kernels in this queue.

data

const dataset<ObservationsLayout, Type*>&

Dataset which is used for estimates computation.

Buffer API

Name

Type

Description

mean

sycl::buffer<Type,1>

sycl::buffer to thearray of mean values provided by the user.

USM API

Name

Type

Description

mean

Type*

Pointer to the output array of mean values provided by the user

Optional Input Parameter for USM API

Name

Type

Description

dependencies

const sycl::vector_class<sycl::event>&

List of events to wait for before starting computation, if any.

Output Parameters

Buffer API

Name

Type

Description

kurtosis

sycl::buffer<Type, 1>

sycl::buffer to the output array of kurtosis values.

USM API

Name

Type

Description

kurtosis

Type*

Pointer to the output array of kurtosis values.

event

sycl::event

Function returns event after submitting task in sycl::queue.