Re: Accelerate/vDSP.h question

2012-02-28 Thread dct
Jan, Thanks for the reply, I will send my question to the performance-dev list. The problem is the same with a malloc array--I found it there first (in some old code that once ran OK) and then wrote the simple test routine to see if my suspicions bore out. Roland, Thanks for your reply also.

Re: Accelerate/vDSP.h question

2012-02-28 Thread Roland King
I put that code in a main() function in a new 10.7 project with Xcode 4.2.1 (no idea why I'm still on that version) and at the breakpoint, bb has the abs of aa. Tried debug and release builds, works fine. On Feb 28, 2012, at 8:43 PM, Jan E. Schotsman wrote: > > On Feb 28, 2012, at 6:36 AM,

Re: Accelerate/vDSP.h question

2012-02-28 Thread Jan E. Schotsman
On Feb 28, 2012, at 6:36 AM, Don Thompson wrote: Have the vDSP functions vDSP_vabs and vDSP_vabsD recently changed? They seem to be no longer working other than to simply return an unchanged version of an input. Here is a simple, Cocoa test routine I used to prove the point: unsi

Accelerate/vDSP.h question

2012-02-27 Thread dct
Have the vDSP functions vDSP_vabs and vDSP_vabsD recently changed? They seem to be no longer working other than to simply return an unchanged version of an input. Here is a simple, Cocoa test routine I used to prove the point: unsigned intii; double aa[10], bb[10];