diff --git a/csharp/sample/Microsoft.ML.OnnxRuntime.InferenceSample/Microsoft.ML.OnnxRuntime.InferenceSample.csproj b/csharp/sample/Microsoft.ML.OnnxRuntime.InferenceSample/Microsoft.ML.OnnxRuntime.InferenceSample.csproj index 99cdbfa4ec..ae8cb450c2 100644 --- a/csharp/sample/Microsoft.ML.OnnxRuntime.InferenceSample/Microsoft.ML.OnnxRuntime.InferenceSample.csproj +++ b/csharp/sample/Microsoft.ML.OnnxRuntime.InferenceSample/Microsoft.ML.OnnxRuntime.InferenceSample.csproj @@ -3,6 +3,7 @@ Exe netcoreapp2.0 + AnyCPU ..\.. $(OnnxRuntimeCsharpRoot)\..\build\Windows $(OnnxRuntimeBuildDirectory)\$(Configuration)\$(Configuration) diff --git a/csharp/src/Microsoft.ML.OnnxRuntime/Microsoft.ML.OnnxRuntime.csproj b/csharp/src/Microsoft.ML.OnnxRuntime/Microsoft.ML.OnnxRuntime.csproj index ccbba308b5..6e253e7a6a 100644 --- a/csharp/src/Microsoft.ML.OnnxRuntime/Microsoft.ML.OnnxRuntime.csproj +++ b/csharp/src/Microsoft.ML.OnnxRuntime/Microsoft.ML.OnnxRuntime.csproj @@ -2,6 +2,7 @@ netstandard1.1 + AnyCPU true true false @@ -118,3 +119,4 @@ + diff --git a/csharp/tools/Microsoft.ML.OnnxRuntime.PerfTool/Microsoft.ML.OnnxRuntime.PerfTool.csproj b/csharp/tools/Microsoft.ML.OnnxRuntime.PerfTool/Microsoft.ML.OnnxRuntime.PerfTool.csproj index 195a5b0303..8592e401b9 100644 --- a/csharp/tools/Microsoft.ML.OnnxRuntime.PerfTool/Microsoft.ML.OnnxRuntime.PerfTool.csproj +++ b/csharp/tools/Microsoft.ML.OnnxRuntime.PerfTool/Microsoft.ML.OnnxRuntime.PerfTool.csproj @@ -2,6 +2,7 @@ Exe + AnyCPU netcoreapp2.0 ..\.. $(OnnxRuntimeCsharpRoot)\..\build\Windows diff --git a/onnxruntime/test/mlas/unittest.cpp b/onnxruntime/test/mlas/unittest.cpp index f67580d519..75044c9953 100644 --- a/onnxruntime/test/mlas/unittest.cpp +++ b/onnxruntime/test/mlas/unittest.cpp @@ -604,7 +604,7 @@ ExecuteConvTests( for (unsigned ic = 0; ic < _countof(cs); ic++) { for (unsigned ih = 0; ih < _countof(is); ih++) { for (unsigned iw = 0; iw < _countof(is); iw++) { - fprintf(stderr, "Handling %dx%dx%d\n", cs[ic], is[ih], is[iw]); + fprintf(stderr, "Handling %ux%ux%u\n", cs[ic], is[ih], is[iw]); for (unsigned fc = 0; fc < _countof(cs); fc++) { for (unsigned kh = 1; kh <= 5; kh++) { if (kh == 4) continue; @@ -1080,7 +1080,7 @@ ExecutePool2DTests( for (unsigned ih = 0; ih < _countof(is); ih++) { for (unsigned iw = 0; iw < _countof(is); iw++) { - fprintf(stderr, "Handling %dx%d\n", is[ih], is[iw]); + fprintf(stderr, "Handling %ux%u\n", is[ih], is[iw]); TrialPool2D(1, 1, is[ih], is[iw], is[ih], is[iw], 0, 0, 0, 0, 1, 1); TrialPool2D(1, 1, is[ih], is[iw], is[ih], 1, 0, 0, 0, 0, 1, 1); TrialPool2D(1, 1, is[ih], is[iw], 1, is[iw], 0, 0, 0, 0, 1, 1); @@ -1117,7 +1117,7 @@ ExecutePool3DTests( for (unsigned id = 0; id < _countof(is); id++) { for (unsigned ih = 0; ih < _countof(is); ih++) { for (unsigned iw = 0; iw < _countof(is); iw++) { - fprintf(stderr, "Handling %dx%dx%d\n", is[id], is[ih], is[iw]); + fprintf(stderr, "Handling %ux%ux%u\n", is[id], is[ih], is[iw]); TrialPool3D(1, 1, is[id], is[ih], is[iw], is[id], is[ih], is[iw], 0, 0, 0, 0, 0, 0, 1, 1, 1); for (unsigned kd = 1; kd <= 4; kd++) { if (kd > is[id]) break;