nodeIntrinsic to load an hsail kernarg
Doug Simon
doug.simon at oracle.com
Fri May 16 09:27:42 UTC 2014
On May 15, 2014, at 11:11 PM, Deneau, Tom <tom.deneau at amd.com> wrote:
> I would like to create special HSAILNode with a @NodeIntrinsic which would end up generating HSAIL code to load from a named kernarg. So for instance if the kernel prologue had
> align 8 kernarg_f64 %_foo,
>
> I could write snippet code something like
> double someVar = HSAILKernArgNode.loadDouble("%_foo”);
This should work as long as the above call is in a @Snippet annotated method. Is that the case? If so, you need to find out why NodeIntrinsificationPhase is not being called for the snippet.
-Doug
More information about the graal-dev
mailing list