Forums :
Wish list :
Optimized Applications
Message board moderation
Author | Message |
---|---|
EigenState Send message Joined: 18 Nov 07 Posts: 21 Credit: 111,451 RAC: 0 |
Optimized applications would be a boon to this project. |
![]() Send message Joined: 30 Aug 07 Posts: 46 Credit: 6,502,980 RAC: 0 |
I have been away from this project for some time. Just wondering if this topic has been resolved. Is the code open and available for optimizing ?? |
EigenState Send message Joined: 18 Nov 07 Posts: 21 Credit: 111,451 RAC: 0 |
As far as I know, nothing has happened. |
![]() Send message Joined: 22 Jul 09 Posts: 8 Credit: 228,911 RAC: 0 |
I suggest looking at the gcc optimization flags so that you can optimize based on CPU. This would mean that specific parts of your code would need to be separated-out where 99% of your crunching happens, so instead of: Let's call it a file called "crunch.c" it would break-up into... crunch.c crunch_AMD.c (set gcc flags to optimize for AMD) crunch_Intel.c (set gcc flags to optimize for Intel) crunch_ARM.c if someone decides to do these other processors... crunch_ARM.c crunch_sparc.c and you would need a CPU indentify routine like: [color=green]if (recognize CPU as AMD) then do stuff in crunch_AMD.c else if (recognize CPU as Intel) then do stuff in crunch_Intel.c else do generic crunch.c stuff endif endif[/color] |