Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.
1696 Discussions

How to get cpu/core/thread id of logic processor on ia64

qin_huaifeng
Beginner
510 Views

Hi all

I'm working on ia64 platform. I want to get a logic processor's corresponding physical cpu id, core id and thread id (if applicable). For example, given logic processor 0, return its physical cpu id 0, core id 0 and thread id 0.

On x86/x86_64, we can use cpuid instruction (type 2) to get above information. But I don't know how to do similar thing on ia64.

Can anybody give me some hints?

Thank you very much.

Huaifeng

0 Kudos
0 Replies
Reply