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: optimal DotProduct function




On Nov 7, 2005, at 4:03 AM, email@hidden wrote:

Hello all.
I am trying to implement the most optimal dot product function (for 
floating point data).


May be someone would point me to a better version of DotProduct 
function?

See cblas_sdot() in the Accelerate framework (the algorithm is that of ATLAS — <http://math-atlas.sourceforge.net/>

float  cblas_sdot(const int N, const float  *X, const int incX,
                  const float  *Y, const int incY);


Please be aware that the Level 1 BLAS (vector vector operations) are generally bound in performance by the rate at which operands can be fetched from memory.

SCP
--


Steve Peters
email@hidden

 _______________________________________________
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



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.