rotor

goto statement is not allowed in kernel?

Discussion created by rotor on Feb 3, 2011
Latest reply on Jul 19, 2011 by RezaRob
error with goto statement SDK 2.3

Hi all,

I got an error "goto statement not allowed" when I compile a kernel with goto statement. NVIDIA SDK does allow goto statement and my kernel runs without any problem. Is this the restriction of AMD SDK compiler? is there any #pragma to allow this.

 

Thanks,

Roto

Outcomes