cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

oeai
Adept I

cmake ADD_DEFINITIONS for amd processors

Aloha!

i'm looking for optimization for cmake all i got now is -msse2 -mfpmath=sse - but it's old

and i would like to use some more options especially for amd is there such thing?

i think that athlons are different to phenom or to A-series so sse2 is pretty much obsolete

i'm using linux x64 to compile with gcc 4.7.3 sometime make -j4 on amd phenom9550 kernel 3.11.4

sometimes it doesn't work, so have to just make, i'd like to put more options for render +openCL, coz it takes a lot of time

i guess if someone knows better compiler settings for different cpus, maybe some could use those too, so it's about amd cpu in a whole.

0 Kudos
Reply
1 Reply
himanshu_gautam
Grandmaster

Re: cmake ADD_DEFINITIONS for amd processors


Hi

Go through the below link. This has mentioned all possible options.

http://www.linuxtopia.org/online_books/an_introduction_to_gcc/gccintro_64.html

0 Kudos
Reply