Quantcast
Channel: Community : All Content - OpenCL
Viewing all articles
Browse latest Browse all 2400

Register spilling problem

$
0
0
========== Build: started ==========
OpenCL Compile Error: Compiling for device: Turks

Warning: expand kernel has register spilling. Lower performance is expected.
--------

========== Build: 1 of 1 succeeded ==========



This is AMD APP KernelAnalzer2 gives.  So do I have register spilled?

But the statistics gives:

 

Device    ScratchRegs    ThreadsPerWorkGroup    WavefrontSize    MaxLDSSize    LDSSize    MaxSGPRs    SGPRs    MaxVGPRs    VGPRs    ReqdWorkGroupX    ReqdWorkGroupY    ReqdWorkGroupZ
Turks    0        0            64        32768        188    N/A        N/A    248        15    0        0        0

Since I don't think my VGPRs is more than MaxVGPRs.  Why kernel has register spilling?


Viewing all articles
Browse latest Browse all 2400