| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
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 |
Sorry, something went wrong.
|
Unfortunately, this fix is broken. There has been another fix recently which actually takes care of this. It will be available in next release. |
Sorry, something went wrong.
|
Thanks. I can see the solution in the master branch. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
Fixes #3180 compilation issue on some distros/gcc combination for CPU and OpenCL backend.
Changes to Users
None
Checklist