GPU coder : When I use GPU coder to any function, Do I need to type coder.gpu.kernelfun in all subfunctions in the main function?
1 次查看（过去 30 天）
Pravin Jagtap 2019-12-27
I think, Dynamic kernel invocation i.e calling kernels from within kernels is not supported by GPU coder yet. Therefore my guess is even if you write the kernel fun pragma in 'colChk_new' GPU threads will ignore that pragma. But, if the computations involved in the for loop of 'fcn_PRM_DH5' then the function call of 'colChk_new' will be parallel.