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

 Akzeptierte Antwort

Matt J
Matt J am 11 Jan. 2023

0 Stimmen

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.

Weitere Antworten (0)

Kategorien

Mehr zu Special Functions finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by