AMD


HandleComment
nishantkumarearly bird gets the first question
nishantkumarAMD_Mike: Do u have any multi cores for mobile platforms?
AMD_Mikeyou can bet they're coming soon
nishantkumarAMD_Mike: cool! Intel is pushing it's Yonah soon i guess!
nishantkumarAMD_Mike: So! What do u guys do?
AMD_Mikemy job is helping developers get the best performance in their code
AMD_SharonI work on AMD's Developer Program, developer.amd.com
i_am_herehi
AMD_Sharonhello
rajeshaz09hi
vultureit
vultureit's pretty early!
lafernandohii
AMD_SharonOne of the things that AMD is known for is our performance in games
AMD_SharonWe thought it would be a good topic for today to talk about some ways to optimize your code for gaming
nishantkumarAMD_Mike: So these optimizations, Are they part of the game code OR the gaming engine?
prunthabanwhich one AMD prefer? DirectX or OpenGL?
PaschalisHas AMD been approached by any console manufacturer to make the CPU?
nishantkumarAMD_Mike: Yeah! Does any console ship with an AMD core?
AMD_Mikethere are specific techniques for getting the best performance on PC games
AMD_Mikemulti-threading is a "biggie" right now
PaschalisOh OK, my question was off-topic I guess
AMD_Mikeand SSE vectorization for FPU-intensive code
jagan_nethello ...
AMD_Mike64-bit native code can also have perf advantages
rajeshaz09hi
FaustusAMD_Mike: where the FPU-intensive code is popular?
prunthabanBut... the programming API should also make use of this techniques right? Thats why I asked DirectX or OpenGL?
AMD_MikeThings like physics, audio processing, and some character animation stuff all use floating point heavily
jagan_nethi AMD People ...
rajeshaz09hi jagan
prunthabanFloating poing is used everywhere in gaming!
AMD_SharonHi jagan
lafernandoyeah .. is directx or opengl aware of the AMD processors ..
AMD_Mikeprunthaban: yes, the easiest way to implement optimizations is to use optimized library code!
lafernandoI mean there're enhanced capabilities ..
AMD_MikeMIcrosoft's D3DX math functions are optimized
jagan_netCould u please tell me which language is good in Optimizing the code.
AMD_MikeVirtually all game developers use Microsoft Visual Studio. VS2005 rocks
AMD_MikeVS2005 supports OpenMP for easy multi-threading
jagan_netwhat about MOBILE Games ???
vulturedoes the AMD Core Math Lib have stuff for games too?
AMD_MikeAlso VS2005 has SSE compiler intrinsic functions, so you can write vectorized SSE that compiles for 32-bit and 64-bit... no more ASM needed
Paschalisthanks
jagan_netA
lafernandohow's the multi core processors doing for games ?
AMD_Mikevulture: I haven't heard of anyone using ACML for games, but there may be some useful code in there.
FaustusAMD_Mike: re FPU-intensive code, do you mean that general-purpose CPU are now assuming the role of supercomputers and specialized hardware?
prunthabanD3DX is a utility library based on software! For example D3DXMatrixMultiply is entirely implemented in software! But.. nowadays graphics cards are coming out with hardware support for performing matrix multiplication with single machine instructions
AMD_Mikelafernando: dual-core is excellent for games
AMD_Mikelafernando: developers are just getting started exploiting dual-core, and already some games are 20% or 30% faster
AMD_SharonCodeAnalyst would be useful in analyzing performance. It's a free profiling tool that we offer through AMD Developer Central.
AMD_Mikelafernando: the graphic drivers are threaded too
lafernandonice ..
AMD_Mikeprunthaban: A lot of processing is done on the GPU now, but there is always stuff that's better done on the CPU
AMD_MikeAMD_Sharon: CodeAnalyst is really easy to use. It integrates with the VS2005 IDE
prunthabanBut... Matrix operations are the heart of gaming! also matrix operations have great scope for parallel operations. So it is one area where a GPU can perform better. Correct me if I am wrong
AMD_SharonWe'll be showing a demo of codeanaylst and how it works at the Game Developers Conference next week
AMD_MikeIf there is one thing to take away from this chat, it is "multi thread your code!". And check out OpenMP, it makes data parallel threading really easy.
jagan_netHi AMD_Mike how is Java rated in Optimization
FaustusAMD_Mike: are there open source OpenMP implementations?
AMD_Mikeprunthaban: The GPU is good for lots of 3D stuff. But the CPU is ideal for other jobs. One consideration: where is your data? If it's in system RAM, the CPU has fast access... you don't need to copy it across into the GPU's memory.
AMD_MikeFaustus: OpenMP is supported in GCC and all over the place. Check out www.openmp.org it's all an open standard
prunthabanIs AMD working on cooling the GPU? (Because excessive heating is the only complaint i hear against -otherwise the best- AMD)
nimisisWho are AMD?
cbmcveyhope the slide of the stock stops today :O
AMD_Mikeprunthaban: I assume you mean cooling the CPU, not GPU? The stock cooler that comes with Athlon 64 works fine. Some after-market cheapies are marginal, but some are good. I always read the reviews on the web.
AMD_SharonHaha, me too
FaustusAMD_Mike: nice to hear, although I see that GOMP is still not in GCC mainline from their site.
ali_raza_shaikhAMD_Mike: What Developers do at AMD
hanvinCan you give me more information about gaming optimization? Video?
AMD_Mikeali_raza_shaikh: There are several software groups. Library code, compiler optimization, ISV support... check AMD.com and look at the job listings, we're hiring 8-)
prunthabanIs it like AMD shifing its main focus from CPUs to GPUs?
ali_raza_shaikhAMD_Mike: Do u need developers for writing Drivers for the Hardware
AMD_Mikehanvin: There are presentations on AMD.com from previous Game Developer's Conferences, and lots of other optimization stuff. Plus GDC2006 is next week, look for new material soon.
FaustusAMD produces GPUs?
simplysuperb_knDoes AMD have its compiler too?AMD
AMD_MikeFaustus: No, we don't make any graphics hardware.
AMD_Sharonprunthaban: AMD works closely with graphcis companies like Nvidia and ATI, but we don't produce our own GPU, only CPU
hanvinWhere is AMD Developers center located? How many employers so far?
ali_raza_shaikhAMD_Mike: ??
AMD_Mikesimplysuperb_kn: We recommend Visual Studio 2005 for games. It's an excellent compiler. 32-bit and 64-bit code, stable, excellent performance.
ali_raza_shaikhAMD_Mike: what about Microsoft XNA
FaustusWhat about ICC? :)
AMD_Sharonhanvin: We have a developer center located in Sunnyvale, CA, US
AMD_Mikeali_raza_shaikh: check amd.com job listings
prunthabanR u planning for a CPU which is "game centric" (better performance on games)?
AMD_Mikeali_raza_shaikh: it's all compatible with AMD
simplysuperb_knWhat does compiler optimization group in AMD do then?
ali_raza_shaikhAMD_Mike: yes
HybridBoyhey could any tell me about linux for amd64 processor
AMD_Sharonprunthaban: Our Athlon FX is for gamers :)
HybridBoyi have found out one naming ubuntu
ali_raza_shaikhAMD_Mike: is there any AMD R&D?
AMD_Mikeprunthaban: Athlon 64 is already extremely "game friendly" with the integrated memory controller and HyperTransport interfaces
gautam2royhi, what are the challenges faced in games wrt video processing speed, which codecs do u use
jagan_netAMD_Sharon: whats AMD plan about $100 Laptop.....?
prunthabanyou recommend Visual Studio 2005? You mean DirectX APIs specifically or in general?
AMD_Mikesimplysuperb_kn: we work with compiler companies like Microsoft, gcc, PGI, etc.
AMD_Mikeprunthaban: Visual Studio 2005 compiler. And of course the DirectX SDK.
AMD_Mikegautam2roy: I am not a codec expert. Lots of game devs use Bink.
AMD_Sharonjagan_net: AMD works with vendors and ODMs to make laptops at affordable prices... I'm not sure about $100 laptop, but we do offer a PIC, that is very inexpensive that can get people online
FaustusDoes VS2005 C++ compiler produce better code for AMD processors than the Intel Compiler Collection?
ali_raza_shaikhis there any AMD R&D?
AMD_MikeHybridBoy: quite a few linuxes are AMD64 already
AMD_Sharonali_raza_shaikh: Yes, AMD definitely has R&D
gautam2royAMD_Mike: ok
cbmcveywhat kind of R&D is going on?
prunthabanI think HLSL is more important nowadays?
AMD_Mikeali_raza_shaikh: AMD does loads of R&D for microprocessors
gautam2royAMD_Mike: ok
cbmcveyany kind of optimization for games other than video?
HybridBoycould some one please name some of the available linux os
ali_raza_shaikhgr8
HybridBoyis there any fedora version of amd64 ?
AMD_Sharonali_raza_shaikh: I can't give too much away... but let's just say we are always working on making transistors smaller and the silicon running faster
cbmcveyHB: yes, I've got it installed
AMD_Mikeprunthaban: silicon fab technology, CPU design, I/O, lots of others
ali_raza_shaikhAre you developing hardwares for Mobile Devices
jagan_netAMD_Sharon: How are Java Games compard to VS2005
mpaulseHybridBoy: Most Linux distros supports AMD64
AMD_MikeHybridBoy: SUSE, Red Hat, you can Google for others
cbmcveyHB: yes, any in CPU optimizations planned for Java?
prunthabanHLSL support is available in Intel compilers too. So why can't AMD go for a compiler which can be incorporated into Visual Studio? (For example Intel's HLSL compiler can be incorporated with VC++)
AMD_Sharonjagan_net: I'll have to let mike answer that question, I'm not sure
AMD_MikeHybridBoy: MSFT already supports HLSL, right?
jagan_netAMD_Mike: whether Java games hav the capability to Optimize the code of GAMES
AMD_Mikecbmcvey: we're always looking at hardware acceleration of important functions
prunthabanjagan_net: Java games cannot even go closer to VC games! The simple reason is VC++ can reach upto the core hardware and optimize! But java cannot... its security prevents it!
jagan_netAMD_Mike: with Hardware
jagan_netprunthaban: tks man
lafernandojagan_net: can u guys give us a forecast on what to expect from AMD in the future .. technology wise ..
AMD_Mikegame developers use C/C++, compiled to native x86 or AMD64 code, for top performance
AMD_Mikelafernando: that is top secret information, my friend
AMD_Mikelafernando: expect dual-core everywhere, and quad-core next
lafernandojagan_net: hehe .. ok ..
jagan_netla
AMD_Mikelafernando: expect higher clock speeds
FaustusAMD_Mike: when you recommend VC++ for gaming, do you mean that you have evaluate it against other compilers, say, ICC, and find that it's better, or do you just "recommend it," as part of AMD company strategy?
prunthabanIn past 5 years in my country(India) AMD has started dominating CPU market! Well done guys for giving cheap and best CPUs! As a true gamer... I look for more from you!
cbmcveya little off game topic, but any plans to work with Apple to ship OSX Macs with AMD CPUs?
lafernandojagan_net: ooops .. sorry jagan .. not to u ..
jagan_netlafernando: ok
AMD_MikeFaustus: I have talked with many of the top PC game devs, and they all use Visual Studio. They are all moving to VS2005 also.
vultureI dont know about newer versions of ICC, but I always found VC outperformed ICC
AMD_Sharonprunthaban: Thanks! We are trying hard to please :)
AMD_Mikecbmcvey: If Apple wants to upgrade to AMD processors, we will gladly supply them!
vultureeverything from VC6sp4+ outperformed ICC5 (and ICC produced buggy code back then too!)
PaschalisI like the use of the word "upgrade" :-)
jagan_netAMD_Mike: I want to Say that .. India has wide POOL of People who go for Low Cost and High Performance CPU so here AMD dominates ... Congrats to AMD
AMD_Mikeprunthaban: The core team who designed the Athlon 64 are from India 8-)
Faustusvulture: well, it would be interesting to compare VS2005 against ICC9, when both compilers are hopefully mature.
AMD_MikeFaustus: Google around, someone may already have benchmarks posted.
jagan_netAMD_Mike: But can can Double its Presence in India with good plan becoz everyone is moving towards it..
vulturejeez they're up to 9 now? gonna stick my money with microsoft still though!
askumbharDoes AMD develops some games ?
AMD_Mikeaskumbhar: no, we don't develop any complete games. We work with developers, though.
cbmcveyany thoughts to adding opcodes to the proc to help speed up AI within games?
AMD_Mikecbmcvey: hmm, any specific ideas?
vultureconditional branch hint predication? :)
Faustusvulture: well, you're going to pony up to MSFT whether you are using ICC on top or not...
vultureunless they added that I forget!
askumbharhow do you achieve , your CPU best for visual studio also and Linux also ?
cbmcveywell optimizations on state-based search somehow... calculation of heuristics...
AMD_Mikevulture: we have a pretty smart branch predictor, but there's always room for improvement. Interestingly, for some applications the branch mis-predict penalty is the most important thing... data that is inherently unpredictable like compressed files.
cbmcveyof course branch prediction, but looking for more in depth than that
cbmcveyseems like a good potential R&D candidate
vultureI dunno I think AI has a lot of conditional branches, you have to check markov-chain-like structures and other similar algorithms
AMD_MikeFaustus: Microsoft has "Express" versions of VS2005 which you can download
cbmcveyyes no doubt, but taking to the next level...
mpaulseDoes AMD offer any TPM-enabled products at the moment?
FaustusAMD_Mike: do you use evolutionary computation for developing heuristics such as branch prediction in CPU?
AMD_Mikempaulse: TPM?
mpaulseTrusted Platform Modules (for trusted computing)
vultureany thoughts of a mini-FPGA on CPU by chance? I don't know the usefulness or feasibility of that really, just curious :)
AMD_MikeFaustus: That is planned for Athlon 1024 in the year 2099
AMD_Mikempaulse: sorry, I don't know anything about that
AMD_Mikevulture: we have new mobile packages coming
FaustusAMD_Mike: I was serious... I meant whether such techniques are used in R&D for developing microcode heuristics parameters.
vulturemobile packages?
AMD_MikeFaustus: we have a huge library of code traces which are tested against various CPU designs... I don't know all the techniques that are used for creating the algorithms, though.
cbmcveyany other tools recommended by AMD for game dev besides VS2005 compiler?
AMD_Sharonvulture: I'm not sure about mini-FPGA, but our Alchemy processor line is for handheld devices and the like
i_am_herewhat is the future of multithreding
AMD_Mikecbmcvey: Yes! AMD CodeAnalyst profiler. It's free, and easy to use, and it does timer-based and event-based profiling.
vultureok cool
AMD_Sharoni_am_here: Very strong future in multi-threading
AMD_Mikecbmcvey: CodeAnalyst supports 32-bit and 64-bit code, also.
AMD_Sharoni_am_here: multi-core will be everywhere, so multithreading will be highly relevant and mainstream
i_am_herewhat should be he currentcriteria for developing aplicatins rght now
AMD_MikeAMD_Sharon: Multi-threading is the #1 most important thing to take away from this chat... thread your code for dual-core, quad-core, and whatever comes next!
cbmcveyany plans for a native java chip? perhaps in your mobile line?
AMD_Sharoncbmcvey: I cna safely say that we are sticking to x86-64 based chips
FaustusAMD_Mike: do you think that libraries such as OpenMP are here to stay, or maybe we are to witness a programming paradigm shift as multicore systems become ubiquitous?
cbmcveyok
AMD_MikeHow many of you are developing games?
mpaulseI'm having problems accessing the download page for CodeAnalyst. It says "Portlet is not available: null. Reason: null".
tywokAMD_Mike: seems not so many
cbmcveyme. currently doing a java game
jagan_netAMD_Mike: I was developing mobile games but now iam developing Business Softwares
cbmcveyso interested in java optimizations in particular if any
vultureI'm developing game engines
i_am_hereamd uses a non bus technique to communicate two cores what is that
AMD_MikeFaustus: Excellent question. I would love to see compilers get smart enough to thread code automatically... maybe someday. But OpenMP makes it _really_ easy to implement data-parallel threading.
cbmcveyhopefully the JDK will be optimized to take advantage of your multithreading improvements
kauppii'm developing some kind of games but mostly for symbian/j2me
jagan_netAMD_Mike: i too look for Java Optimizations
nikoI'm working on a physics engine, prob. be used in games mostly.
cbmcveywonder how difficult it would be for you guys to piggy-back a native java chip on the side with your normal x86 chip
cbmcveythat would make apple do a double take since they are very java focused
biacosniko: really? i m'working with ODE
tywokhow can you optimize a code for amd64 appart from compile flags?
vultureis there a 64-bit assembler for x86-64 ?
nikobiacos: Cool, how's it going?
brtzsnrwhy is amd interested in topcoder? is the company looking for employees or interns?
Faustuscbmcvey: c'mon... Java is so yesterday. Look at TC competitions - most top-rated competitors use C++.
jagan_netAMD_Mike: Actually i used to Optimize JAVA programs with Native Codes(JNI) but its like abiding Java rules
cbmcveyyeah but rankings here are flawed
cbmcveythey don't gauge reusability, maintainability of code
mpaulseFaustus: Well, look at the design and development competitions :)
biacosniko: first step are insidious... what about your engine? (any links?)
connisseurcbmcvey plz tell how the ratings are flawed
cbmcveyI just did
Faustuscbmcvey: that's what everyone says... but did you try the Intel competition, where you have two weeks to develop code? Surprisingly, it's not less hard. :)
AMD_Miketywok: excellent question. My white paper describes several optimization techniques. Our web site is having a bad hair day at the moment, but check this link later http://developer.amd.designreactor.com/articles.psml?id=1&num=1
jagan_netAMD_Mike: ***One Question *** What do u look from a TopCoder
tywokhow much would the perfomance boost'
AMD_Mikejagan_net: uh, not sure exactly what you are asking...
cbmcveythe site even admits it can't rank based on subjective things like maintainability, readability, etc
nikobiacos: Nothing on the net yet.. I'll get there. Working on dynamics/rag doll stuff at the mo.
cbmcveythanks for the chat Mike & Sharon. You guys keep up the good work.
jagan_netAMD_Mike: r u planned to recurit GUYs for AMD and What kind of Skills u look from Topcoders
AMD_MikeAMD_Mike: you can get 10%, 20% or more gain in certain 64-bit code because of all the extra registers.
biacosniko: interesting... we will talk after the match!
nikobiacos: kk
AMD_Mikejagan_net: I am not a hiring manager, but a solid track record and good communication skills are always a plus.
jagan_netAMD_Mike: Good Thankx
AMD_MikeGood luck to all!
nikojagan_net: Cool, so there's emphasis on communication too, not just "geek" skills...
cbmcveythx
tywokthanks!
askumbharThanks a lot for sharing nice , useful information
jmpld40thanks Sharon and mike
jagan_netAMD_Mike: yup good luck to all
nikoYeah, tnks. gl everyone.
AMD_SharonThanks everyone! Good luck with the Competition!!!
jagan_netAMD_Mike: thankx to rep's from AMD
vulturethanks
nishantkumarAMD_Mike: Thanks guys!
askumbharthanks...also best luck to All
AMD_Mikejagan_net: yer welcome
AMD_SharonMaybe we'll see you in Las Vegas :)



AMD