AnsweredAssumed Answered

Any way to avoid using too many VGPRs?

Question asked by fancyix on Nov 8, 2018
Latest reply on Nov 9, 2018 by dipak

Is there anything like cuda's "register" keyword hinting the compiler to store the value of one variable in one register, instead of using many registers for storing its temporary value? I tried "volatile" but sometimes it doesn't work.

Or is there any compile option for opencl to use like cuda's "-maxrregcount"?

Thanks in advance.

Outcomes