- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
OS : Windows 10, X64
Intel C++ 2021.1.3 Classic
Target : X86
I discovered that _InterlockedCompareExchangePointer is unresolved external in target X86 (but works fine in X64), Here is how to reproduce (silly example) in target x32
#include <iostream>
#include <intrin.h>
int main()
{
void* a1, * a2= nullptr, * a3 = nullptr;
_InterlockedCompareExchangePointer(&a1, a2, a3);
}
Is intrinsic in x32 broken?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Our Developer decided not to fix this issue. Please use icx instead.
We are going to close this thread as wont fix.
Thanks,
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Peter,
Thanks for reaching out to us.
We tried the code snippet at our end using Intel oneAPI 2021.2 and 2021.3. We found it runs fine for both x86 and x64 on Windows 10 using the C++ compiler.
Can you please consider working on latest version of Intel oneAPI i.e. 2021.3? Let us know if issue persists.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you for your reply
I regretfully didn't clarify compiler version, but it was the latest, 2021.3
I am still getting unresolved external on this intrinsic
I attach a command line compile of this small example. All version information is also shown
Using same example using X64 target does not produce this error, as I show in attachment
Would you please have a look at it again?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Peter,
We were able to reproduce the same issue with the icl compiler.
We are working on your issue internally. We will get back to you soon.
Meanwhile could you please try compiling your code with icx compiler instead of icl.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank for reporting this issue. I've filed this bug to our Developer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Our Developer decided not to fix this issue. Please use icx instead.
We are going to close this thread as wont fix.
Thanks,

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