• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multi Channel FFT Audio Anaylzer + Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multi Channel FFT Audio Anaylzer + Question


  • Subject: Re: Multi Channel FFT Audio Anaylzer + Question
  • From: Frank Schoep <email@hidden>
  • Date: Wed, 27 Jun 2007 11:59:24 +0200

On Jun 27, 2007, at 12:38 AM, Benjamin Federer wrote:
… The vDSP library shows some sample code that uses the "vec_malloc" statement. Unfortunately I could not get Xcode to like it. Instead I had to use "malloc". Frank Schoep's homepage states the use of a "__attribute__ ((aligned))" postfix for GCC. I could not manage to find any specific information about vector alignment in the vDSP documentation. Any clues?

Hello Benjamin,

Being a mere mortal I explored the Accelerate framework on my own with the API guides besides me. In almost every function description there is an explanation as to what scenario invokes scalar code and what conditions are required for vectorized code.

It just so happens that the "Automatically align variables" or something aptly named like that in Xcode doesn't work for vDSP calls and variables so I saw quite abysmal performance. In my case, just appending the postfix helped invoke vectorized code on at least Intel Core Duo.

I think you're be able to use "Shark" from the CHUD package to see whether or not vectorized code is invoked. At least, I used Shark to check this myself. Look for function naming differences between scalar and vectorized when profiling.

I hope that was moderately useful.

Sincerely,

Frank
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: Multi Channel FFT Audio Anaylzer + Question (From: Ian Ollmann <email@hidden>)
 >Re: Multi Channel FFT Audio Anaylzer + Question (From: Benjamin Federer <email@hidden>)

  • Prev by Date: 1channel valid- and changestream-format
  • Next by Date: Re: Multi Channel FFT Audio Anaylzer + Question
  • Previous by thread: Re: Multi Channel FFT Audio Anaylzer + Question
  • Next by thread: Re: Multi Channel FFT Audio Anaylzer + Question
  • Index(es):
    • Date
    • Thread