Answered by:
Using native dll, using Intel MKL in Azure

-
Good day.
How i can compile c++ library to use it in Azure:
1. Not depending on Intel MKL;
2. Depending on Intel MKL;
Unfortunately there is not enough information concerning it.
I am developing Bizspark project heavily using vectorised machine learning and some other libraries.
So i would like to understand, how to better setup roles.
I need to use native dll from asp.net mvc core application, in hybrid backend, in development scenario doing some researches.
I have to port some working desktop code to Azure.
Typically i use C# task scheduler so let's say i ll be happy to compile and use one thread native dll. Intel MKL greatly supports many options and let compile switching off omp and its own threading.
It would be great if it is possible to compile c++ in general and especially Intel MKL with omp setups and call its functions(methods) by PInvoke like on desktop but not sure if it s really possible. But who knows.
Everybody s telling general words on virtualization but i am sure there are boundaries when physical real code execution begins. I am sure it cant be difficult. May be some limitations - exclude parallelisation and thread synchronization calls.
At the same time we know that at least MongoDB is working. But it seems to me server side of mongo is done without any .net driver.
So i would like to know how better compile c++ code and to get more information on environment:
1. supported instuctions, will vectorization directives work?
2. Wich namespaces in C++ and C# may be used to get information at runtime on cpu cache level size for better cpu cache fit setups.
Unfortunatel have not found anything relevant in any Microsoft help directory.
And as for Amazon Web Services - they have even easy guides even with samples and pictures) for using c++ amp and cuda.
- Edited by Alexey_KK Friday, November 04, 2016 5:38 PM
- Moved by Ashok Kumar .PMicrosoft contingent staff Saturday, November 05, 2016 5:07 AM better suited here from CS
- Moved by neerajkh_MSFT Monday, November 14, 2016 2:00 AM Wrong forum
- Moved by PRADEEP CHEEKATLAMicrosoft contingent staff Tuesday, November 15, 2016 10:23 AM Not related to Cloud Service
Question
Answers
-
I'd probably split into separate questions in these forums.
https://software.intel.com/en-us/forums/intel-math-kernel-library
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Dave PatrickMVP, Moderator Friday, November 18, 2016 3:09 PM
- Marked as answer by pituachMVP, Moderator Saturday, November 26, 2016 4:37 AM
All replies
-
I'd probably split into separate questions in these forums.
https://software.intel.com/en-us/forums/intel-math-kernel-library
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.- Proposed as answer by Dave PatrickMVP, Moderator Friday, November 18, 2016 3:09 PM
- Marked as answer by pituachMVP, Moderator Saturday, November 26, 2016 4:37 AM
-
Nothing concerning posted question.
I dont have any bad image format exception. PInvoke is correct way to use platform specific methods.
As for Intel MKL - this library is compatible with windows and windows server.
No one problem concerning using it under Windows 10 for example.
Question was adressed mostly to azure team.
To be honest i am surprised. I expected answer from azure team in 2 days as it was promised by technical chat.
-
I expected answer from azure team in 2 days as it was promised by technical chat.
This question got moved a couple of times (from where I don't know) Question is now in "where is" forum for direction on where best to ask. Its best to create separate posts for each question. I'd probably split into separate questions and ask in these forums.
https://software.intel.com/en-us/forums/intel-math-kernel-library
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights. -
This question got moved a couple of times (from where I don't know) Question is now in "where is" forum for direction on where best to ask. Its best to create separate posts for each question.
I see. Now you are trying to flush it.
Ok the correct direction only one - compiling C++.dll and using it by C# PInvoke in Azure. Cant understand why somebody marked is as not cloud question. Question is only concerning Azure and calling unmanaged library in managed code in Azure.
-
I'd suggest you can re-ask but probably split into separate questions in these forums.
https://software.intel.com/en-us/forums/intel-math-kernel-library
https://azure.microsoft.com/en-us/support/forums/
Regards, Dave Patrick ....
Microsoft Certified Professional
Microsoft MVP [Windows Server] Datacenter Management
Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.