[LLVMdev] GPU thread/block/grid size contraints in LLVM PTX backend

Xin Tong xerox.time.tech at gmail.com
Mon Mar 12 07:17:08 CDT 2012


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


More information about the LLVMdev mailing list