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

GetThreadIdx

Returns a unique thread identification number.

Syntax

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

IppStatus ippGetThreadIdx_LT(int* pThrIdx);

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

IppStatus ippGetThreadIdx_T(int* pThrIdx);

Include Files

ippcore_tl.h

Parameters

pThrIdx

Pointer to the index of a thread.

Description

This function returns a unique thread identification number.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition when the pThrIdx pointer is NULL.