01-17-2019 03:43 AM
I have made a basic AI code which uses an unordered map library. I have compared the results of the code in code blocks(GNU GCC Compiler) and SDK. The results I am getting are different in both the IDE's.
The main body of my code is simple i think the main problem is with the libraries I am using which are:
my code has no time dependencies. Can someone please suggest whats the possible cause of this?
01-21-2019 11:55 PM
I think it would be helpful for you to provide more details about the issue if you want the community provide feedback on the post. I mean, what does it mean "different results"? at runtime, on the binary file...
You mention that codeblocks makes use of GNU GCC but for which architecture? and what's the GCC version used?
01-23-2019 12:32 AM
Thank You for your reply. In my code, I am using a transposition table to store some useful data. Transposition table uses these below libraries
1. In Vivado:
2. In Codeblocks :
Without transposition table, code is giving the same results in both Vivado and Codeblocks but with transposition table results are different.
My Code has no time dependencies. I think it is due to different libraries on different platforms or it may be due to different compilers.
Codeblocks uses GNU GCC compiler.
Can u suggest what is the possible cause of this?