Use appropriate MKL getrs_batch_strided API based on MKL Versions#3181
Conversation
97611cf to
694b77e
Compare
694b77e to
81e9a55
Compare
917f188 to
a3992f9
Compare
|
Hi, I am trying to use Arrayfire(v3.8.1) in my project. I am using MKL version 20220000 and I have exactly the same issue described in #3180. Does this commit really fix the building issue? The compile works fine if I comments out the version contional at the header inclusion part. #if INTEL_MKL_VERSION >= 20210004. (here) The header mkl_version.h is the file that defines the macro INTEL_MKL_VERSION. Since the macro is used before the header inclusion, when the conditional is evaluated, INTEL_MKL_VERSION will be 0 (undefined). So, the header will never be included. This means the successing conditionals will be all false, the not-const type for the pointer is still used, and the compile error occurs. So I think the version checking conditional for the header inclusion should be deleted. Thank you. Useong Kim |
|
Unfortunately, this fix is broken. There has been another fix recently which actually takes care of this. It will be available in next release. |
|
Thanks. I can see the solution in the master branch. |
Description
Fixes #3180 compilation issue on some distros/gcc combination for CPU and OpenCL backend.
Changes to Users
None
Checklist
[ ] Functions added to unified API[ ] Functions documented