Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)

Cross stack access

Jack_S_
Beginner
787 Views

Hi all,

I'm using OpenMP to parallelize a portion of my code, in a way that one subroutine is fine-grained parallelized, and other two subroutines are being called from the main program as a coarse grained parallelization.

Attached is an Intel Inspector screen shot which tells me that I do not have data race, but at least one of my threads access the stack of other thread, i.e., cross stack access.

How it can be resolved ?

Thank you,

Jack. 

0 Kudos
3 Replies
Jack_S_
Beginner
787 Views

It should be noted that the cross stack access is in the fine grained parallel subroutine.

Thank you in advance,

Jack.

0 Kudos
John_B_2
Beginner
787 Views

I was seeing something very similar to these in my app also (on Linux) and my best guess was they were false positives, as they seemed to be in local stack variables allocated within the threads.

0 Kudos
Jack_S_
Beginner
787 Views

Thanks John.

This was also my best guess, since I didn't observe any changes in the results of my app.

Best,

Jack.

0 Kudos
Reply