4 Replies Latest reply on Jun 7, 2010 2:52 PM by bubu

    CUDA-like occupancy.xls

    bubu

      Do you have an Excel sheet or tool to compute the occupancy for ATI cards ( placing things like the # registers used by the kernel, local memory used, etc...???

       

      thx

        • CUDA-like occupancy.xls
          eduardoschardong

          There are tools like Stream Kernel Analyzer and Stream profiler, I don't think you should really care about unless a kernel is performing much worse than expected, register pressure for AMD GPUs is a much smaller issue than for nVidia GPUs.

           

            • CUDA-like occupancy.xls
              ryta1203

              Nevertheless, a simple excel spreadsheet or something similar should require minimal effort.

              • CUDA-like occupancy.xls
                bubu

                 

                Originally posted by: eduardoschardong There are tools like Stream Kernel Analyzer and Stream profiler, I don't think you should really care about unless a kernel is performing much worse than expected, register pressure for AMD GPUs is a much smaller issue than for nVidia GPUs.

                 

                 

                 

                Yep, I love the Stream analyzer... but I don't think it can tell you the optimal grid and workgroup sizes and neither the number of active wavefronts knowing how many registers and local memory are you using.

                I really prefer a XLS file where you can just enter the

                0. The card you're using.

                1. Number of registers your kernel is using.

                2. How many local memory you use for each work group/thread.

                3. Your grid size

                 

                and see all the possible combinations to get the most optimal workgroup/grid size in a graph.