Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

Non-standard usage of sycl::abs

nmnobre
Novice
644 Views

Hi,

 

In poisson_impl.hpp there are four usages of double sycl::abs(double) which is not defined in the SYCL standard.

Would it be possible to instead use double sycl::fabs(double)which is equivalent but standard compliant?

See also this issue in the intel/llvm GitHub repo.

 

Cheers,

-Nuno

0 Kudos
1 Solution
VarshaS_Intel
Moderator
403 Views

Hi,

 

Thank you for your patience.

 

The issue raised by you has been fixed in version 2023.2 and it is released now. Please find the below link to download the latest Intel MKL Toolkit or you can also download the complete Intel Base Toolkit.

https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html

https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?operatingsystem=linux&distributions=offline

 

Thanks & Regards,

Varsha

 

View solution in original post

2 Replies
Alina_E_Intel
Employee
594 Views

Hi @nmnobre,

Thank you for pointing on this issue! Yes you are right, sycl::fabs should be used in poisson_impl.hpp. We will implement the fix in the future updates. 

 

Also thank you for coming on our community forum, please, let us know if you have any oneMKL-related questions. 


Best regards,
Alina 

VarshaS_Intel
Moderator
404 Views

Hi,

 

Thank you for your patience.

 

The issue raised by you has been fixed in version 2023.2 and it is released now. Please find the below link to download the latest Intel MKL Toolkit or you can also download the complete Intel Base Toolkit.

https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-download.html

https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?operatingsystem=linux&distributions=offline

 

Thanks & Regards,

Varsha

 

Reply