Developer Reference for Intel® oneAPI Math Kernel Library for C

ID 766684
Date 11/07/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

DftiCopyDescriptor

Makes a copy of an existing descriptor.

Syntax

status = DftiCopyDescriptor(desc_handle_original, &desc_handle_copy);

Include Files

  • mkl.h

Input Parameters

Name

Type

Description

desc_handle_original

DFTI_DESCRIPTOR_HANDLE

The FFT descriptor to copy.

DFTI_DESCRIPTOR_HANDLE

The FFT descriptor to copy.

Output Parameters

Name

Type

Description

dfti_handle_dst

DFTI_DESCRIPTOR_HANDLE

The copy of the FFT descriptor.

status

MKL_LONG

Function completion status.

Description

This function makes a copy of an existing descriptor. The resulting descriptor desc_handle_copy and the existing descriptor desc_handle_original specify the same configuration of the transform, but do not have any memory areas in common ("deep copy").

The function returns zero when it completes successfully. See Status Checking Functions for more information on the returned status.

Prototype

 
MKL_LONG DftiCopyDescriptor( DFTI_DESCRIPTOR_HANLDE, DFTI_DESCRIPTOR_HANDLE * );