Mailing Lists: Apple Mailing Lists

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

Questions about multithreaded cblas functions



I am having trouble getting cblas functions from the Accelerate framework to multithread in Cocoa apps that are running on multicore G5 machines (specifically: cblas_zgeru, cblas_zgemv, and cblas_daxpy).  There seems to be only a single thread spawned by the compute thread of my app, as monitored by "Shark" and "Activity Monitor."   

Can all cblas routines run multithreaded on multi-core PPC and Intel processors?  If not, is the subset of functions that are multithreaded documented somewhere?  

To ensure that the environment variable is set to permit multithreading, I have added the following entry to the Info.plist file of my Cocoa apps:

        <key>LSEnvironment</key>
        <array>
            <dict>
                <key>VECLIB_MAXIMUM_THREADS</key>
                <string>4</string>
            </dict>
        </array>

Is this correct?  Thanks.  
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Scitech mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/scitech/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.