3 ms·
GPUs can jump to function pointers and some GPU languages support them. Have a look at "4.2 Branching" in http://developer.amd.com/wordpress/media/2013/12/AMD_
by fulafel 7y ago
GPUs can jump to function pointers and some GPU languages support them.
Have a look at "4.2 Branching" in http://developer.amd.com/wordpress/media/2013/12/AMD_GCN3_Instruction_Set_Architecture_rev1.1.pdf http://developer.amd.com/wordpress/media/2013/12/AMD_GCN3_In...
Also, it's possible to compile code using function pointers down to more limited forms of flow control instructions.
- TazeTSchnitzel 7y agoGood luck with performance if it's non-uniform across the warp.