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

MKL functions with openMP

TestDR
Beginner
1,802 Views

Hi,

I want to concatenate  (feed the output  of one as input to the other) cblas_cherk and LAPACKE_cheevx functions  inside a GPU. The CPU version works , but GPU version with omp pragmas does not work. Can I concatenate two MKL functions using  openMP?

 

0 Kudos
6 Replies
VarshaS_Intel
Moderator
1,770 Views

Hi,


Thanks for posting in Intel Communities.


Could you please provide us with the complete sample reproducer code(along with the steps if any) and output you got while you are running on the CPU?


Additionally, do let us know the OS details, hardware(CPU and GPU), and Intel MKL version you are using. 


Thanks & Regards,

Varsha


0 Kudos
VarshaS_Intel
Moderator
1,738 Views

Hi,


We have not heard back from you. Could you please provide us with an update on your issue?


Thanks & Regards,

Varsha


0 Kudos
TestDR
Beginner
1,729 Views

Hi 

It should be possible tell  whether the mkl functions are supported or not by looking at the mkl interface if you have expertise .  There is no need to see the full code. Please close this thread. Thanks.

0 Kudos
VarshaS_Intel
Moderator
1,679 Views

Hi,


Apologies for the delay in my response. 


I tried concatenating(passing one MKL routine results as an input to another function) the Intel MKL functions using OpenMP on GPU, and it worked without any errors.


I noticed that the function cblas_cherk which you are using is not listed in the supported functions The reason for your issue might be the routines you are using are not listed in the supported routines.

Please find the below link for the supported OpenMP offload for Intel MKL

https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-0/openmp-offload-for-onemkl.html


Could you please try the supported routines as mentioned in the link and let us know if you are still facing any errors?


Thanks & Regards,

Varsha


0 Kudos
VarshaS_Intel
Moderator
1,638 Views

Hi,


We have not heard back from you. Could you please provide us with an update o your issue?


Thanks & Regards,

Varsha


0 Kudos
VarshaS_Intel
Moderator
1,605 Views

Hi,


We have not heard back from you. Could you please let us know if you have any other queries?


Thanks & Regards,

Varsha


0 Kudos
Reply