Forum Discussion
I'm having an issue using the Atomic Library in C++11, it's saying that I need to specify the flag std=c++11, but I don't know how to do that with I++ compiler. How do I correct this, since I need Compare and Swap behavior for my data structure?
Hi ,
You have to refer to the compiler user guide for the version of HLS compiler being used.
Depending on the version of the Intel HLS compiler , The C++ files are expected to be conforming to different standards like C++14 ,C++17 etc.
But not all the features of the language are supported ,
For example if you check the restriction section
Intel HLS Compiler Pro Edition Restrictions
in the below document , its is mentioned that what all features are not supported.
https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/hls/ug-hls.pdf
Also if you see the reference manual of the compiler you can get in more detail the information about what subset of the C and C++ are supported.
Thanks and Regards
Anil
- MSura26 years ago
New Contributor
Hi Anil,
I wanted to know if there is any support available for atomic instruction by the HLS compiler?
Secondly, I want to request technical support via an engineer for using the the Intel HLS tool version 20.1, would you be able to provide that via a phone or telephone call?
Kind Regards,
Mayank Surana