Azzera filtri
Azzera filtri

GPU support for besselh

9 visualizzazioni (ultimi 30 giorni)
Vignesh Radhakrishnan
Vignesh Radhakrishnan il 11 Gen 2023
Risposto: Matt J il 11 Gen 2023
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

Risposta accettata

Matt J
Matt J il 11 Gen 2023
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.

Più risposte (0)

Categorie

Scopri di più su Special Functions in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by