I know that in CUDA, it can be seen with “keepit” option for nvcc, and it is also in the cubin file. But in OpenCL, I can only get the binaries with clGetProgramInfo(). In the binary file, I saw big numbers of register used. It is said that they are not true numbers, the actual registers are reused, so, much less than that. How can I get the exact number of registers with OpenCL? Thanks!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Is there a way to find out the number of registers in a kernel program? | 2 | 2231 | December 7, 2007 | |
Number of registers used by kernel at runtime ? | 0 | 2856 | July 25, 2008 | |
How can I see which variables are held in registers and how many registers they use? | 1 | 412 | November 20, 2018 | |
Registers per thread | 4 | 2308 | July 8, 2011 | |
Register count? How to tell which part is using register in kernel function | 4 | 1243 | July 26, 2010 | |
How to calculate number of registers per thread | 5 | 2020 | October 23, 2008 | |
OpenCL and CUDA registers usage optimization | 0 | 1076 | November 2, 2012 | |
registers re-used in different __device__ func? | 7 | 4264 | October 31, 2007 | |
Printing the number of registers used or occupancy | 3 | 3059 | August 13, 2008 | |
Register Count Different Reg Count from same Program | 3 | 1671 | May 7, 2009 |