|FROM ||Ruben Safir
|SUBJECT ||Re: [Learn] how is it indexing in cuda
|From learn-bounces-at-nylxs.com Wed Nov 2 00:39:14 2016
Received: from www.mrbrklyn.com (www.mrbrklyn.com [188.8.131.52])
by mrbrklyn.com (Postfix) with ESMTP id 0253D161312;
Wed, 2 Nov 2016 00:39:13 -0400 (EDT)
Received: from [10.0.0.62] (flatbush.mrbrklyn.com [10.0.0.62])
by mrbrklyn.com (Postfix) with ESMTP id A192D160E77;
Wed, 2 Nov 2016 00:39:11 -0400 (EDT)
To: Samir Iabbassen , learn-at-nylxs.com
From: Ruben Safir
Date: Wed, 2 Nov 2016 00:39:11 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Subject: Re: [Learn] how is it indexing in cuda
Content-Type: text/plain; charset="us-ascii"
OK 0 it is 12:30 so I just finished with the slides. I think I
understand everything on them, although I'm missing a cuda device
to program on. The slide made some enlightenment on the problems
in the video, but not completely. I'll go back and look at it again.
For reference the video is at
the slides are
On 11/01/2016 09:48 PM, Samir Iabbassen wrote:
> Take a look at this document if you have time.I can explain why and how we use indexing in CUDA tomorrow.
> You may take a look at other related lectures for CUDA programming on http://users.wfu.edu/choss/CUDA/docs/
> From: Ruben Safir
> Sent: Tuesday, November 1, 2016 8:16 PM
> To: Samir Iabbassen; learn-at-nylxs.com
> Subject: how is it indexing in cuda
> This slide says we have block and threads. If we are indexing on both
> then it says
> - With M threads/block a unique index for each thread is given by:
> int index = threadIdx.x + blockIdx.x * M;
> I don't understand this at all.
> this is slide 39
> I have two coordinates. Why am I adding M?
> So many immigrant groups have swept through our town
> that Brooklyn, like Atlantis, reaches mythological
> proportions in the mind of the world - RI Safir 1998
> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> http://www.nylxs.com - Leadership Development in Free Software
> http://www2.mrbrklyn.com/resources - Unpublished Archive
> http://www.coinhangout.com - coins!
> Being so tracked is for FARM ANIMALS and and extermination camps,
> but incompatible with living as a free human being. -RI Safir 2013
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
Being so tracked is for FARM ANIMALS and and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
Learn mailing list