AnsweredAssumed Answered

Can it be achieved ? true function call using assembly in OpenCL

Question asked by roger512 on Jul 22, 2013

Hi,

 

I don't have much hope concerning this but, according to this post Using inline assembly in OpenCL kernels (still not perfect).. it seems possible to use AMD IL inside OpenCL Kernels.

 

Now I read http://developer.amd.com/wordpress/media/2012/10/AMD_Intermediate_Language_%28IL%29_Specification_v2.pdf and I saw page 110, it is possible to call  subroutines and achieve recursivity.

 

So my question is, is it possible to write a subroutine and call it with AMD IL assembly inside a kernel ?

 

Ty Roger

Outcomes