Error D8016 : '/arch:AVX' and '/kernel' command-line options are incompatible

  • Thread starter Thread starter balajimc55
  • Start date Start date
B

balajimc55

Guest
I'm trying to compile a library that contains AVX 512 instructions for linking with a kernel mode driver. For that I need both the following compiler flags:

/arch:AVX512

Enables the use of Intel Advanced Vector Extensions 512 instructions.

/kernel

The code in the current project is compiled and linked by using a set of C++ language rules that are specific to code that will run in kernel mode.


However, the documentation for /kernel flag states that /arch:AVX is not supported. Is there any workaround to compile AVX 512 instructions for use in kernel mode?

Continue reading...
 

Similar threads

Back
Top