Software Archive
Read-only legacy content
17061 Discussions

_Cilk_offload in DLLs

John_F_1
Beginner
523 Views

The release notes for the 2015 compiler mentions this :

3.5.3.1 Limitations of _Cilk_shared

* _Cilk_offload may not be used in a program that uses shared libraries (DLLs)

What is the reason for this? This seems like a pretty severe limitation on using MYO. Is this just a bug, or a limitation of the underlying model? Will it be fixed in future releases? Did it work in the 14.0 compiler?

0 Kudos
1 Reply
Kevin_D_Intel
Employee
523 Views

I’m still waiting for some Developer feedback but from details I found and after some testing, the reason for the limitation relates to a current known defect where use of the Virtual Shared model within the DLL leads to an execution hang at app startup; however, you can use the Virtual Shared model within the app so long as it’s external to any DLL.

This issue exists in both the previous 14.0 (Intel® Composer XE 2013 SP1) and current 15.0 (Intel® Parallel Studio XE 2015) releases but I understand this will be addressed in a future release. I will update the internal tracking id below so the resolution can be tracked via this forum thread and share any other details I receive from Development.

(Internal tracking id: TBD)

0 Kudos
Reply