Visible to Intel only — GUID: GUID-55B6AEDF-C52C-4277-A21C-DD33C94FB3EB
Visible to Intel only — GUID: GUID-55B6AEDF-C52C-4277-A21C-DD33C94FB3EB
vslConvCopyTask/vslCorrCopyTask
Copies a descriptor for convolution or correlation task.
status = vslConvCopyTask(newtask, srctask);
status = vslCorrCopyTask(newtask, srctask);
- mkl.h
Name |
Type |
Description |
---|---|---|
srctask |
const VSLConvTaskPtr for vslConvCopyTask const VSLCorrTaskPtr for vslCorrCopyTask |
Pointer to the source task descriptor. |
Name |
Type |
Description |
---|---|---|
newtask |
VSLConvTaskPtr* for vslConvCopyTask VSLCorrTaskPtr* for vslCorrCopyTask |
Pointer to the new task descriptor. |
status |
int |
Current status of the source task. |
If a task object srctask already exists, you can use an appropriate vslConvCopyTask/vslCorrCopyTask routine to make its copy in newtask. After the copy operation, both source and new task objects will become committed (see Introduction to Convolution and Correlation for information about task commitment). If the source task was not previously committed, the commitment operation for this task is implicitly invoked before copying starts. If an error occurs during source task commitment, the task stores the error code in the status field. If an error occurs during copy operation, the routine returns a NULL pointer instead of a reference to a new task object.