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

>
>        autoThreads = 1
>        autoBlocks  = 8
>
>
I've never heard of an 8300, I assume it has 2/16 of the MPs enabled?

They should never return that, they should return threads as a multiple of
64 and blocks as a multiple of 2.  It could be there is a bug, or that you
are executing the kernel on the host.





> 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;
>
>
Those are the values for CPU execution.  They're low to prevent the number
of threads being ridiculous.


>
> 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? )
>
>
That's not possible at the moment, it probably should be possible.  We would
probably expose it through a general purpose info database for places, with
all sorts of stuff available.   The key thing autoBlocks/autoThreads does is
it knows things about the kernel being executed, like the number of
registers and such.
------------------------------------------------------------------------------
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