[LLVMdev] GPU thread/block/grid size contraints in LLVM PTX backend
Che-Liang Chiou
clchiou at gmail.com
Tue Mar 13 02:19:13 PDT 2012
You specify shader model, bit size and etc. arch-specified parameters
though -march, -mattr and -mcpu, but AFAIK, PTX backend does not use
the GPU thread/block/grid size information in optimization yet.
On Mon, Mar 12, 2012 at 8:17 PM, Xin Tong <xerox.time.tech at gmail.com> wrote:
> I am wondering that how does the LLVM PTX backend find out the
> constraints on executing GPU thread/block/grid size ( i.e. a block can
> at most have 1024 threads). Can anyone point me to the code ? I need
> information in the optimizer, how can I get it ?
>
> Thanks
>
> Xin
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list