From f7b83d58739d9ee780da4851cbe4206199306a7b Mon Sep 17 00:00:00 2001
From: ac_22 <andyrcohen@outlook.com>
Date: Mon, 6 Jan 2020 09:47:09 -0500
Subject: [PATCH] visual studio 2017 runtime targeted

---
 src/MATLAB/+HIP/@Cuda/Cuda.m     | 2 +-
 src/MATLAB/+HIP/@Cuda/Mex.mexw64 | 4 ++--
 src/c/CudaImageProcessor.vcxproj | 4 ++--
 src/c/CudaMex.vcxproj            | 4 ++--
 src/c/CudaPy3DLL.vcxproj         | 4 ++--
 src/c/Mex.mexw64                 | 4 ++--
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/src/MATLAB/+HIP/@Cuda/Cuda.m b/src/MATLAB/+HIP/@Cuda/Cuda.m
index fbdcb5f3..55d02796 100644
--- a/src/MATLAB/+HIP/@Cuda/Cuda.m
+++ b/src/MATLAB/+HIP/@Cuda/Cuda.m
@@ -4,6 +4,7 @@ methods (Static)
     [imageOut] = HighPassFilter(imageIn,sigmas,device)
     [numCudaDevices,memStats] = DeviceCount()
     Help(command)
+    [minVal,maxVal] = GetMinMax(imageIn,device)
     [cmdInfo] = Info()
     [imageOut] = Gaussian(imageIn,sigmas,numIterations,device)
     [imageOut] = MeanFilter(imageIn,kernel,numIterations,device)
@@ -12,7 +13,6 @@ methods (Static)
     [imageOut] = MultiplySum(imageIn,kernel,numIterations,device)
     [imageOut] = EntropyFilter(imageIn,kernel,device)
     [imageOut] = StdFilter(imageIn,kernel,numIterations,device)
-    [minVal,maxVal] = GetMinMax(imageIn,device)
     [imageOut] = IdentityFilter(imageIn,device)
     [imageOut] = LoG(imageIn,sigmas,device)
     [imageOut] = MedianFilter(imageIn,kernel,numIterations,device)
diff --git a/src/MATLAB/+HIP/@Cuda/Mex.mexw64 b/src/MATLAB/+HIP/@Cuda/Mex.mexw64
index 0cee8a7f..b658d2b0 100644
--- a/src/MATLAB/+HIP/@Cuda/Mex.mexw64
+++ b/src/MATLAB/+HIP/@Cuda/Mex.mexw64
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:4ac325bae9c99bba6b9577fb705277f52c750f4379fc1033cbc8750467d1f2a8
-size 12263936
+oid sha256:75d48bac093946934c4cd46fbbe2aedd703f447d1ec8e08752c118eb23528e07
+size 12387840
diff --git a/src/c/CudaImageProcessor.vcxproj b/src/c/CudaImageProcessor.vcxproj
index a9acfad9..1d9413ab 100644
--- a/src/c/CudaImageProcessor.vcxproj
+++ b/src/c/CudaImageProcessor.vcxproj
@@ -15,7 +15,7 @@
     <TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
     <Keyword>ManagedCProj</Keyword>
     <RootNamespace>CudaImageProcessor</RootNamespace>
-    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -28,7 +28,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>StaticLibrary</ConfigurationType>
     <UseDebugLibraries>false</UseDebugLibraries>
-    <PlatformToolset>v142</PlatformToolset>
+    <PlatformToolset>v141</PlatformToolset>
     <CLRSupport>false</CLRSupport>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
diff --git a/src/c/CudaMex.vcxproj b/src/c/CudaMex.vcxproj
index d2348df9..dc38a993 100644
--- a/src/c/CudaMex.vcxproj
+++ b/src/c/CudaMex.vcxproj
@@ -13,7 +13,7 @@
   <PropertyGroup Label="Globals">
     <ProjectGuid>{6698E8EC-49D9-421E-AA87-5BCC6B466347}</ProjectGuid>
     <RootNamespace>CudaMex</RootNamespace>
-    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
@@ -25,7 +25,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
     <UseDebugLibraries>false</UseDebugLibraries>
-    <PlatformToolset>v142</PlatformToolset>
+    <PlatformToolset>v141</PlatformToolset>
     <WholeProgramOptimization>true</WholeProgramOptimization>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
diff --git a/src/c/CudaPy3DLL.vcxproj b/src/c/CudaPy3DLL.vcxproj
index af1d077c..0cec9a35 100644
--- a/src/c/CudaPy3DLL.vcxproj
+++ b/src/c/CudaPy3DLL.vcxproj
@@ -73,7 +73,7 @@
     <ProjectGuid>{0957901A-E67A-40C2-9EF5-76DF8EFBC2D5}</ProjectGuid>
     <Keyword>Win32Proj</Keyword>
     <RootNamespace>CudaPy3DLL</RootNamespace>
-    <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
+    <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
   </PropertyGroup>
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
@@ -98,7 +98,7 @@
   <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
     <ConfigurationType>DynamicLibrary</ConfigurationType>
     <UseDebugLibraries>false</UseDebugLibraries>
-    <PlatformToolset>v142</PlatformToolset>
+    <PlatformToolset>v141</PlatformToolset>
     <WholeProgramOptimization>true</WholeProgramOptimization>
     <CharacterSet>MultiByte</CharacterSet>
   </PropertyGroup>
diff --git a/src/c/Mex.mexw64 b/src/c/Mex.mexw64
index 0cee8a7f..b658d2b0 100644
--- a/src/c/Mex.mexw64
+++ b/src/c/Mex.mexw64
@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:4ac325bae9c99bba6b9577fb705277f52c750f4379fc1033cbc8750467d1f2a8
-size 12263936
+oid sha256:75d48bac093946934c4cd46fbbe2aedd703f447d1ec8e08752c118eb23528e07
+size 12387840
-- 
GitLab