Build 2012

It’s all about performance: Using Visual C++ 2012 to make the best use of your hardware

Download this episode

Download Video

Description

If you attend this talk, you will learn about the latest and greatest C++ performance features. All hardware being produced by Intel, ARM and AMD is now mulit-core with each core supporting a rich instruction set supporting vectorization of ordinary C++ that uses 128-bit registers. Additionally, on chip GPU’s are going through their 3rd iteration in many hardware product lines thus making general purpose computing on the GPU important. This talk provides an accessible overview of all the new hardware and how C++ allows the developer to take advantage of it. We start with the engineering of auto-vectorization and auto-parallelization for existing unaltered C/C++ programs, progress to PPL and then tie in the new C++ AMP language extensions. This is a “go-fast” talk that’s also a great intro into computer architecture and C++ compilers.

Tag:

C++

Day:

2

Code:

3-013

Room:

B92 Odyssey

Embed

Format

Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • jVangsnes

      great talk! the effort that went into vs2012 seems tremendous...

    • Moondevil

      Nice talk!


      Looking forward to see such optimizations also available to the JIT and NGEN compilers in the .NET platform.

    • seb

      Really liked the talk,
      It's quite amazing how the hardware evolved and how the VC team compiler catch up with auto vectorization and parallel constructions with PPL and AMP. Visual Studio 2012 looks amazing. Can wait for this to be mainstream.

    • David

      One thing that really bothered me was the use of "movps" and "pmax". That should probably be "movups" or maybe "movaps" (the other slide used _mm_loadu_ps though) and "pmaxsd".

      And I'm left wondering, is that vectorizor going to emit unaligned loads all over the place? Because that kind of sucks. Ok unaligned loads got a little faster recently, but still.

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.