Skip to content

Benchmarks

Hüseyin Tuğrul BÜYÜKIŞIK edited this page Apr 2, 2017 · 15 revisions

Device Performance

Generally adding just 1 CPU-core to a GPU doesn't add more performance, but decrease it if data doesn't fit cache and both devices share same memory.

C3060 with 2 cores @1.6GHz and 1 iGPU(HD-400) with 12 cores @600MHz (laptop on battery):

CPU-C# CPU-1core-OpenCL iGPU OpenCL CPU+iGPU OpenCL
c=sqrt(a)+pow(b,0.5) for 1M elements, 100 repeats 18118ms 22409ms 3211ms 4450ms
c=exp(sin(a)+cos(b)) 3523ms 1196ms 174ms 292ms

FX8150 with R7-240(320 cores):

CPU-C# CPU-7core-OpenCL GPU OpenCL CPU+GPU OpenCL
c=a+b for 4M elements 39.9ms 4.7ms 12.4ms 4.5ms
image resize from 2592x1944 to 512x512 23.5ms(System.DrawImage) 6.4ms 6.3ms 5.7ms

Pipelining Performance