Re: [gpuocelot] Digest for gpuocelot@googlegroups.com - 1 Message in 1 Topic

4 views
Skip to first unread message

Alberto de Sá Cavalcanti de Albuquerque

unread,
Dec 21, 2011, 9:38:48 AM12/21/11
to gpuo...@googlegroups.com, Fernando Magno Quintao Pereira
Hi, Greg,

Thank you for the quick reply. I think I can use it to find the sizes of the arrays. If all goes well, I will  try to write some code to better allocate arrays in shared memory.

Sincerely,
Alberto de Sá Cavalcanti de Albuquerque




2011/12/20 <gpuo...@googlegroups.com>

Group: http://groups.google.com/group/gpuocelot/topics

    "gtg...@mail.gatech.edu" <Gregory...@gatech.edu> Dec 20 01:04PM +0530  

    Dear Alberto,
     
    Ocelot tracks this information in the sharedMemorySize() method of the ExecutableKernel class.  So any trace generator should be able to access it at runtime.
     
    Regards,
     
    Gregory Diamos
     
    -----Original message-----
    From: "Alberto de Sá Cavalcanti de Albuquerque" <albertoalb...@gmail.com>
    To: gpuo...@googlegroups.com
    Cc: Fernando Magno Quintao Pereira <fper...@dcc.ufmg.br>
    Sent: Mon, Dec 19, 2011 20:56:56 GMT+00:00
    Subject: [gpuocelot] Regarding shared memory on kernels
     
    Dear guys,
     
    I am trying to use Ocelot to determine the amount of shared memory that
    each kernel declares statically. For instance, the NVIDIA SDK's transpose
    benchmark starts like:
     
    entry _Z9transposePfS_ii(...) {
    .shared .align 4 .b8
    __cuda___cuda_local_var_84432_32_non_const_block16[1088];"
    ...
    }
     
    Is there a way to use Ocelot to know that the amount of memory allocated to
    the static array is 1088 bytes?
     
    Sincerely yours,
    Alberto de Sá Cavalcanti de Albuquerque
     
    --
    You received this message because you are subscribed to the Google Groups "gpuocelot" group.
    To post to this group, send email to gpuo...@googlegroups.com.
    To unsubscribe from this group, send email to gpuocelot+...@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/gpuocelot?hl=en.

     

You received this message because you are subscribed to the Google Group gpuocelot.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
You received this message because you are subscribed to the Google Groups "gpuocelot" group.
To post to this group, send email to gpuo...@googlegroups.com.
To unsubscribe from this group, send email to gpuocelot+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gpuocelot?hl=en.

Reply all
Reply to author
Forward
0 new messages