Kaveri and Counting Cores

With the move towards highly integrated SoCs we've seen a variety of approaches to core counts. Apple, Intel and Qualcomm still count CPU cores when advertising an SoC. For Apple and Qualcomm that's partially because neither company is particularly fond of disclosing the configuration of their GPUs. More recently, NVIDIA took the somewhat insane stance of counting GPU CUDA cores on its Tegra K1 SoC. Motorola on the other hand opted for the bizarre choice of aggregating CPU, GPU and off-die companion processors with the X8 platform in its Moto X smartphone. Eventually we will have to find a way to characterize these highly integrated SoCs, particularly when the majority of applications actually depend on/leverage both CPU and GPU cores.

AMD finds itself in a unique position with Kaveri where it has a truly unified CPU/GPU architecture and needs to establish a new nomenclature for use in the future. With 47% of the Kaveri die dedicated for GPU use, and an architecture that treats both CPU and GPU as equals, I can understand AMD's desire to talk about the number of total cores on the APU.

AMD settled on the term "Compute Core", which can refer to either an x86 (or maybe eventually ARM) CPU core or a GCN compute unit. The breakdown is as follows:

  • Each thread on a CPU is a Compute Core
  • Each Compute Unit on the IGP is a Compute Core
  • Total Compute Cores = CPU Compute Cores + IGP Compute Cores

This means that the high end SKU, the A10-7850K will have a total of 12 compute cores: four from the CPU (two Steamroller modules supporting four threads) and eight from the IGP (due to eight compute units from the R7 graphics).

There are some qualifications to be made on this front. Technically, AMD is correct – each compute unit in the IGP and each thread on the CPU can run separate code. The Hawaii GCN architecture can spawn as many kernels as compute units, whereas a couple of generations ago we were restricted to one compute kernel on the GPU at once (merely with blocks of work being split across the CUs). However, clearly these 12 compute units are not equivalent: a programmer will still have to write code for the CPU and GPU specifically in order to use all the processing power available.

Whenever AMD (or partners) are to promote the new APUs, AMD tells us clearly that two sets of numbers should be quoted in reference to the Compute Cores – the total, and the breakdown of CPU/GPU on the APU. Thus this would mean that the A10-7850K APU would be marketed at a “12 Compute Core” device, with “(4 CPU + 8 GPU)” following immediately after. I applaud AMD's decision to not obfuscate the internal configuration of its APUs. This approach seems to be the most sensible if it wants to tout the total processing power of the APU as well as tell those users who understand a bit more what the actual configuration of the SoC is. The biggest issue is how to address the users who automatically assume that more cores == better. The root of this problem is very similar to the old PR-rating debates of the Athlon XP. Explaining to end users the intracacies of CPU/GPU programming is really no different than explaining why IPC * frequency matters more than absolute frequency.

When a programmer obtains an APU, the OpenCL profiler should locate the eight compute units of the GPU and display that to the user for offloading compute purposes; at the same time it is up to the programmer to leverage the threads as appropriately as possible, even with AMD’s 3rd generation Bulldozer modules implementing a dual-INT + single-FP solution.

At launch, AMD will offer the following configurations:

  • A10-7850K: 12 Compute Cores (4 CPU + 8 GPU)
  • A10-7700K: 10 Compute Cores (4 CPU + 6 GPU)
  • A8-7600: 10 Compute Cores (4 CPU + 6 GPU)

The problem with distilling the processing power of the APU into a number of compute cores is primarily on the CPU side. AMD will be keeping the GPU at approximately the same clock (720 MHz for these three) but the CPU frequency will differ greatly, especially with the A8-7600 which has configurable TDP and when in 45W mode will operate 300-400 MHz less.

Steamroller Architecture Redux

We've already documented much of what Steamroller brings to the table based on AMD's Hot Chips presentation last year, but I'll offer a quick recap here.

Steamroller brings forward AMD's Bulldozer architecture, largely unchanged. We're still talking about a dual-core module featuring two independent integer execution cores with a single shared floating point execution core capable of executing instructions from two threads in parallel. A single module still appears as two cores/threads to the OS.

In Bulldozer and Piledriver, each integer core had its own independent scheduler but the two cores shared a single fetch and decode unit. Instructions would come in and decodeded operations would be fed to each integer pipe on alternating clock cycles. In Steamroller the decode hardware is duplicated in each module, so now each integer core gets its own decode unit. The two decode units are shared by the one FP unit.

L1 instruction caches increase in size from 64KB to 96KB per module, which AMD claims reduces misses by up to 30%. There's an updated branch predictor which is responsible for reducing mispredicted branches by up to 20%. Both integer and FP register files grow in size as well as an increase in the size of the scheduling window, a combination of which increases the number of dispatches per thread by up to 25%.

There are huge improvements on the store side. Steamroller can now issue up to 2 stores at the same time compared to 1 in Bulldozer/Piledriver. The load/store queue sizes go up by around 20% as well. It's remarkable just how much low hanging fruit there was in the Bulldozer design.

GCN in an APU

The integrated graphics solution on Trinity/Richland launched with a Cayman-derived VLIW4 architecture, which unfortunately came just shortly after desktop side of the equation finished moving from VLIW5/VLIW4 to GCN. Having a product stack with largely different GPU architectures doesn't help anyone, particularly on the developer front. Looking forward, sticking with GCN was the appropriate thing to do, as now Kaveri is using GCN, the same architecture found in AMD’s high end R9-290X GPU, based on the Hawaii platform.

This enabled AMD to add in all the features they currently have on Hawaii with little to no effort – the TrueAudio DSP, the upgraded Video Coding Engine and Unified Video Decoder are such examples. Whether or not AMD decides to develop an APU with more than 8 GCN CUs is another matter. This is a point we've brought up with AMD internally and one that I'm curious about - do any AnandTech readers have an interest in an even higher end APU with substantially more graphics horsepower? Memory bandwidth obviously becomes an issue, but the real question is how valuable an Xbox One/PS4-like APU would be to the community.

Kaveri: Aiming for 1080p30 and Compute Llano, Trinity and Kaveri Die: Compared
Comments Locked

380 Comments

View All Comments

  • just4U - Wednesday, January 15, 2014 - link

    Well power wise the $120 cpu would likely be the route to go.. You sort of missed the curve really.. since the leaps in performance on the C2D in 2007 (09 for AMDs PIIs) really made the old X2s obsolete... so yeah in that sense excellent upgrade. Video wise? Hummm.. I want to say it's going to be better.. but not sure by how much.
  • tipoo - Tuesday, January 14, 2014 - link

    What's up with the Iris Pros bottom score in the Bioshock Infinite minimum FPS test, where it did well in the average FPS? Does it have framerate drops?
  • Nova17745 - Tuesday, January 14, 2014 - link

    So the minor improvement of integrated graphics makes this all ok? I'll keep my i7-4770k
  • just4U - Wednesday, January 15, 2014 - link

    Yes.. and I'll keep my 2700K rather than go for your i7-4700K as I think it's within a few percentage points of yours.. but can maintain higher over clocks (if I wanted to oc) due to temperature issues surrounding the temperatures issues of ivyb/haswell but if I wanted to build a lite streaming box for the TV room (no games..) and not spend a lot this would be a excellent option.
  • jrs77 - Tuesday, January 14, 2014 - link

    I couldn't care less about the iGPU tbqh, as the majority of the professional software I'm using doesn't make any use of it, but relies purely on the CPU.

    I'd like to see more reallife benchmarks, as they would show that Kaveri isn't at all too be recommended, if you're working with your PC.
    Image editing (Adobe Ps), image rendering (Cycles, LuxRender, VRay), office (MS, OOP, Libre), music-editing (FL Studio, Reason, etc). All this sofftware is heavily used by alot of homeusers, and all of this software doesn't make any use of GPGPU or OpenCL basically.

    Kaveri is good foor a cheap HTPC, but so is a cheap intel i3.

    Everyone who is building a PC for playing games would never consider doing it without a dedicated GPU, so why should we care about these gaming-benchmarks on the iGPU?

    I was hoping that AMD improves the CPU-part, but seeing that my old i5-3450 is still crushing the A10-7850k in CPU-performance is actually a rather sad story for AMD. In Cinebench R15 it's allmost 100 points difference between the two, or 25% if you like, and both chips cost the same, while the intel i5 is much better in energy-efficiency.
  • YuLeven - Tuesday, January 14, 2014 - link

    You Core i5 crushes A10-7800K's performance CPU wise costing the same, a cheap Athlon or Pentium CPU paired with a HD7770GE wipes the floor with A10-7800K's gaming performance, also costing the same (just checked the prices at newegg).

    It's all about picking it right. If you go with this APU, you are stuck in the middle. So-so CPU performance, so-so 720p gaming.
  • codedivine - Tuesday, January 14, 2014 - link

    Blender Cycles is getting OpenCL acceleration. I believe Apple is helping out with that. And LibreOffice folks also showed OpenCL acceleration.
  • jrs77 - Tuesday, January 14, 2014 - link

    Blender Cycles getting some OpenCL love is nice, but it's not actually the most relevant renderer. I'm either using V-Ray or LuxRender most of the time, and the V-Ray 2.0 RT is a joke, as it can't render scenes using the chosen textures, but only renders standard-materials, just like any other GPU-based renderer currently.

    And I don't think that the intel iGPU is much slower for GPGPU, especially knowing that it's faster in video-encoding than the AMD iGPU, so the problem oof the bad single-threaded performance still speaks against AMD.

    The smaller 45W Kaveri-chips are much more interesting imho, especially for HTPCs, as they can be cooled passively and will be dirt-cheap at $50 a pop.
  • mikato - Wednesday, January 15, 2014 - link

    Well come on you're the one that mentioned it to begin with, and LibreOffice too. I imagine these will show substantial improvements.
  • chizow - Tuesday, January 14, 2014 - link

    Shocking that Kaveri is slower than Richland in many CPU-related tasks, it's as if AMD is pulling a Bulldozer all over again. Wasn't Steamroller supposed to redeem the whole "Construction" line of CPUs? It's no wonder they decided to cancel FX for the desktop, it'd be Bulldozer all over again.

Log in

Don't have an account? Sign up now