- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone!
We are trying to accelerate an existing C codebase with OpenMP pragmas and possible offloading.
If we compile with "/Qiopenmp" everything works. If we try to compile with "/Qiopenmp /Qopenmp-targets:spir64" the compilation fails with these errors:
error LNK2019: unresolved external symbol __tgt_target_data_begin_mapper
error LNK2019: unresolved external symbol __tgt_push_code_location
error LNK2001: unresolved external symbol __tgt_push_code_location
error LNK2019: unresolved external symbol __tgt_target_teams_mapper
error LNK2001: unresolved external symbol __tgt_target_teams_mapper
error LNK2019: unresolved external symbol __tgt_target_data_update_mapper
error LNK2001: unresolved external symbol __tgt_target_data_update_mapper
error LNK2019: unresolved external symbol __tgt_target_data_end_mapper
error LNK2019: unresolved external symbol __tgt_register_requires
error LNK2001: unresolved external symbol __tgt_register_requires
fatal error LNK1120: 6 unresolved externals
We are using icx with ninja and cmake from the command line.
Software versions:
- icx: icc_w_BaseKit_p_2023.2.0.49396_offline
- vs: Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.6.5
- ninja: 1.11.1
- cmake: 3.26.4
What are we doing wrong?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in intel community.
Could you please provide the following details so that we could reproduce the issue at our end and also check whether they are of supported type:
1. OS and Hardware
2. Sample reproducer and steps to reproduce.
Thanks And Regards,
Aishwarya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard back from you, Could you please provide information we asked in the previous response?
Thanks And Regards,
Aishwarya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.
Thanks And Regards,
Aishwarya

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page