Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphics card tricks



Holger Bettag wrote:
I could be mistaken, but it seems to me that in all direct performance
comparisons between GPU and CPU, vectorized CPU programs are conspiciously
absent.

An interesting example of GPU versus vectorized CPU programs is in:

Fast Database Operations using Graphics Processors in Proc. of ACM SIGMOD 2004

The paper is available here:
http://gamma.cs.unc.edu/DB/main.pdf

There are cases where the GPU is substantially faster, even when taking data copy time into account. However, the vectorized cpu code sometimes also wins by a large factor (it is SSE2 code produced by the Intel compiler version 7.1 for a dual 2.8GHz Xeon). I'm sure we could speed up the cpu code by hand-tweaking it, as the authors did for the gpu code produced by the nvidia cg compiler.

But, I see no reason that the cases where the gpu is winning could not be equally fast given a wider vector unit on the cpu.

niall


_______________________________________________ Do not post admin requests to the list. They will be ignored. PerfOptimization-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/perfoptimization-dev/email@hidden

This email sent to email@hidden
References: 
 >Graphics card tricks (From: "Edward K. Chew" <email@hidden>)
 >Re: Graphics card tricks (From: Holger Bettag <email@hidden>)
 >Re: Graphics card tricks (From: Niall Dalton <email@hidden>)
 >Re: Graphics card tricks (From: Holger Bettag <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.