Changes the value of the parameter internal_precision in the convolution or correlation task descriptor.
Fortran:
status = vslconvsetinternalprecision(task, precision)
status = vslcorrsetinternalprecision(task, precision)
C:
status = vslConvSetInternalPrecision(task, precision);
status = vslCorrSetInternalPrecision(task, precision);
The FORTRAN 77 interfaces are specified in the mkl_vsl.f77 include file, the Fortran 90 interfaces are specified in the mkl_vsl.f90 include file, and the C interfaces are specified in the mkl_vsl_functions.h include file.
Name |
Type |
Description |
---|---|---|
task |
FORTRAN 77: INTEGER*4 task(2) for vslconvsetinternalprecision INTEGER*4 task(2) for vslcorrsetinternalprecision Fortran 90: TYPE(VSL_CONV_TASK) for vslconvsetinternalprecision TYPE(VSL_CORR_TASK) for vslcorrsetinternalprecision C: VSLConvTaskPtr for vslConvSetInternalPrecision VSLCorrTaskPtr for vslCorrSetInternalPrecision |
Pointer to the task descriptor. |
precision |
FORTRAN 77: INTEGER Fortran 90: INTEGER C: const int |
New value of the parameter internal_precision. |
Name |
Type |
Description |
---|---|---|
status |
FORTRAN 77: INTEGER Fortran 90: INTEGER C: int |
Current status of the task. |
The SetInternalPrecision routine changes the value of the parameter internal_precision for the operation of convolution or correlation. This parameter defines whether the internal computations of the convolution or correlation result should be done in single or double precision. Initial value for internal_precision is assigned by a task constructor and set to either "single" or "double" according to the particular flavor of the constructor used.
Changing the internal_precision can be useful if the default setting of this parameter was "single" but you want to calculate the result with double precision even if input and output data are represented in single precision.
Predefined values for the internal_precision input parameter are as follows:
Value |
Purpose |
---|---|
VSL_CONV_PRECISION_SINGLE |
Compute convolution with single precision. |
VSL_CORR_PRECISION_SINGLE |
Compute correlation with single precision. |
VSL_CONV_PRECISION_DOUBLE |
Compute convolution with double precision. |
VSL_CORR_PRECISION_DOUBLE |
Compute correlation with double precision. |
Copyright © 1994 - 2011, Intel Corporation. All rights reserved.