Hi guys,

I'm trying to figure out the reasoning of

     * CUDAUtilities.autoThreads()
     * CUDAUtilities.autoBlocks()

In the case of my old GeForge 8300 board, they report:

        autoThreads = 1
        autoBlocks  = 8

These parameters seem to be ....

  Multiprocessors x Core/MP = Cores : 1 (MP) x 8 (Cores/MP) = 8 (Cores)


This is weird or a big and unprobable coincidence, but in 
x10-runtime/src/x10/x10/util/CUDAUtilities.x10, these values are 
hardcoded like this:

   public static def autoBlocks()  : Int = 8;
   public static def autoThreads() : Int = 1;

What's the catch?



Another question: how I could obtain other interesting parameters, like 
the maximum number of threads per block ? ( Do I really need to know 
what would be the maximum number of threads per block? )


Thanks a lot

Cheers :)

-- 
Richard Gomes
M: +44(77)9955-6813
http://tinyurl.com/frgomes
twitter: frgomes

JQuantLib is a library for Quantitative Finance written in Java.
http://www.jquantlib.org/
twitter: jquantlib

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to