GPU support for besselh

9 次查看(过去 30 天)
Hi,
I am trying to implement gpu processing in my code. Most of the bessel functions are supported by gpu but besselh is not. Am I wrong? If it is not supported, is there any way around it?
I would like to calculate a hankel function of zero order 2nd type
Thanks

采纳的回答

Matt J
Matt J 2023-1-11
Most of the bessel functions are supported by gpu but besselh is not. Am I wrong?
If "supported by GPU" means does it accepts gpuArrays as input, then yes, that appears to be the case. If instead you mean does the GPU Coder support it, then that is wrong, besselh does appear to be supported.
If the former, it appears that you can express besselh in terms of besselj and bessely
which do accept gpuArray input.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Special Functions 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by