On Fri, Nov 14, 2014 at 08:37:52AM -0800, Cesar Philippidis wrote:
> On 11/14/2014 08:18 AM, Jakub Jelinek wrote:
>
> >> Also, keep in mind that PTX doesn't have a global TID. The user needs to
> >> calculate it using ctaid/tid and friends.
> >
> > Ok. Is %gridid needed for that combo too?
>
> Eventually, probably. Currently, we're launching all of our kernels with
> cuLaunchKernel, and that function doesn't take grids into account.
I wonder if cudaLaunchDevice called from PTX will result in a different
%gridid or not, will see next week if I manage to get the HW and SW stack
Jakub