Copies an existing descriptor.
Fortran:
Status = DftiCopyDescriptor( Desc_Handle_Original, Desc_Handle_Copy )
C:
status = DftiCopyDescriptor( desc_handle_original, &desc_handle_copy );
The Fortran interface is specified in the mkl_dfti.f90 include file and the C interface is specified in the mkl_dfti.h include file.
This function makes a copy of an existing descriptor and provides a pointer to it. The purpose is that all information of the original descriptor will be maintained even if the original is destroyed via the free descriptor function DftiFreeDescriptor.
The function returns the zero status when completes successfully. The function returns DFTI_NO_ERROR when completes successfully. See Status Checking Functions for more information on the returned status.
! Fortran interface
INTERFACE DftiCopyDescriptor
! Note that the body provided here is to illustrate the different
!argument list and types of dummy arguments. The interface
!does not guarantee what the actual function names are.
!Users can only rely on the function name following the
!keyword INTERFACE
FUNCTION some_actual_function_2( Desc_Handle_Original,
Desc_Handle_Copy )
INTEGER :: some_actual_function_2
TYPE(DFTI_DESCRIPTOR), POINTER :: Desc_Handle_Original, Desc_Handle_Copy
END FUNCTION some_actual_function_2
END INTERFACE DftiCopyDescriptor
Copyright © 1994 - 2010, Intel Corporation. All rights reserved.