- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working on windows driver development, and I wonder if the Intel compiler can be used to accelerate the windows driver? For kernel mode driver maybe it is hard but for user mode driver it should be possible?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Which compiler are you currently using for your development?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using the Intel C++ Compiler 2024 from Intel OneAPI Base Toolkit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If your “window driver” is C/C++ or Fortran code, then you can use Intel Compilers from oneAPI Toolkit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using C/C++ in my windows driver project. Attach a sample code that can reproduce the issue.
I tried to create a simple KMDF/UMDF driver with the default template in visual studio. Then I changed the platform toolset to Intel compiler, and then set the base platform toolset to WindowsKernelModeDriver10.0/WindowsUserModeDriver10.0.
However, when trying to build the driver after that, it failed with below error. Can you please help to check if there is any mistake in my steps? My simple test driver is attached in this email.
Severity | Code | Description | Project | File | Line | Suppression State | Details |
Error |
| 'ntddk.h' file not found | KMDFDriverIcxTest | C:\Users\hzhan71\source\repos\KMDFDriverIcxTest\KMDFDriverIcxTest\driver.h(17,10): | 1 |
|
|
Error |
| 'wdf.h' file not found | UMDFDriverIcxTest | C:\Users\hzhan71\source\repos\KMDFDriverIcxTest\UMDFDriverIcxTest\driver.h(18,10): | 1 |
|
|
Steps to create a simple driver in VS2022:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you project compile with MS compiler prior to switching to Intel Compiler?
Also, make sure to use VS version listed here https://www.intel.com/content/www/us/en/developer/articles/reference-implementation/intel-compilers-compatibility-with-microsoft-visual-studio-and-xcode.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, the project is a simple project which created from default KMDF driver template, it doesn't include my project code currently, and it compiles fine with MS compiler. You need to install WDK for Visual Studio to compile the sample code.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page