Advanced search

Message boards : Wish list : Optimized Applications

Author Message
EigenState
Send message
Joined: 18 Nov 07
Posts: 21
Credit: 110,140
RAC: 0
Message 6871 - Posted: 2 Aug 2008, 2:22:50 UTC

Optimized applications would be a boon to this project.

Profile kevint
Send message
Joined: 30 Aug 07
Posts: 46
Credit: 6,502,980
RAC: 0
Message 7814 - Posted: 25 Jan 2009, 0:38:31 UTC


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: 110,140
RAC: 0
Message 7815 - Posted: 25 Jan 2009, 0:41:24 UTC - in response to Message 7814.


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 ??


As far as I know, nothing has happened.

Profile Cosmo Joe
Send message
Joined: 22 Jul 09
Posts: 8
Credit: 131,557
RAC: 94
Message 8636 - Posted: 17 Oct 2009, 23:42:26 UTC - in response to Message 7815.

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]

Message boards : Wish list : Optimized Applications