在Visual Studio中调试应用程序时,System.Numerics.Vector.IsHardwareAccelerated设置为true。
如果我安装程序并运行ngen.exe(Native Image Generator)以加速启动,则System.Numerics.Vector.IsHardwareAccelerated始终为false。
C:\ Windows \ Microsoft.NET \ Framework64 \ v4.0.30319 \ ngen.exe安装“C:\ Program Files \ App \ app.exe”
在使用ngen加速应用程序启动的同时,我能做些什么来启用IsHardwareAccelerated?