7 Replies Latest reply on Jul 8, 2014 5:22 AM by VincentSC

    Can I force the compiler to reduce VGPR usage?


      Is there a way to limit the compiler's VGPR usage (like -cl-nv-maxrregcount on the NVIDIA platform)?  This would be a particularly useful feature to increase occupancy.  Under the right circumstances, reducing the number of used VGPRs by just a few hardly impacts single-threaded performance, while the increased occupancy may improve overall performance.