Intel® Integrated Performance Primitives Developer Guide and Reference

ID 790148
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

ParallelFor

Performs parallel iterations for a processing function.

Syntax

Case 1: Operation with TL functions based on the Platform Aware API

IppStatus ippParallelFor_LT(IppSizeL numTiles, void* arg, functype_l func);

Case 2: Operation with TL functions based on the Classic API

IppStatus ippParallelFor_T(int numTiles, void* arg, functype func);

Include Files

ippcore_tl.h

Parameters

numTiles

Number of tiles.

arg

Pointer to the structure that contains arguments for the processing function.

func

Pointer to the processing function used in the "parallel for" loop.

Description

This function performs parallel iterations of a processing function, which is passed as an argument for each tile.

Return Values

ippStsNoErr

Indicates no error.

Any IPP error that the processing function can return.