Does CUDA support recursion?

前端 未结 12 2492
广开言路
广开言路 2020-12-08 06:31

Does CUDA support recursion?

12条回答
  •  既然无缘
    2020-12-08 07:02

    If your algorithm invovles alot of recursions, then support or not, it is not designed for GPUs, either redesign your algorthims or get a better CPU, either way it will be better (I bet in many cases, maginitudes better) then do recurisons on GPUs.

提交回复
热议问题