-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cyl_bessel_j functions (on device) #308
Comments
@mkinsner : Is this an issue with the spec or the implementation? |
I think the request for |
I haven't seen requests to support this functions before, so I'm not sure if we can classify this as an implementation bug. I suppose the functions defined here: https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/optimization-and-programming-guide/intel-math-library/math-functions/special-functions.html are supported on CPU only with disabled SYCL mode. |
In ECP WarpX, we would like to use the cylindrical Bessel function of the first kind on device.
They are defined in the C++17 standard:
https://en.cppreference.com/w/cpp/numeric/special_functions/cyl_bessel_j
But compiling with those device functions errors as of the latest oneAPI/DPC++ compiler out with:
It seems there is a similar error for
jn
/jnf
as defined here: https://software.intel.com/content/www/us/en/develop/documentation/oneapi-dpcpp-cpp-compiler-dev-guide-and-reference/top/optimization-and-programming-guide/intel-math-library/math-functions/special-functions.htmlI cannot spot
jn(f)
in thesycl::
namespace here: https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/C-CXX-StandardLibrary/C-CXX-StandardLibrary.rstThe text was updated successfully, but these errors were encountered: