2016-05-31 16:40:40 +03:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<ItemGroup Label="ProjectConfigurations">
|
|
|
|
|
<ProjectConfiguration Include="Debug|x64">
|
|
|
|
|
<Configuration>Debug</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Release|x64">
|
|
|
|
|
<Configuration>Release</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Debug_CpuOnly|x64">
|
|
|
|
|
<Configuration>Debug_CpuOnly</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
<ProjectConfiguration Include="Release_CpuOnly|x64">
|
|
|
|
|
<Configuration>Release_CpuOnly</Configuration>
|
|
|
|
|
<Platform>x64</Platform>
|
|
|
|
|
</ProjectConfiguration>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
|
<ProjectGuid>{E5606ECE-48CA-4464-BB12-09D81D02B9EF}</ProjectGuid>
|
|
|
|
|
<Keyword>Win32Proj</Keyword>
|
|
|
|
|
<RootNamespace>CNTKv2LibraryDll</RootNamespace>
|
|
|
|
|
<ProjectName>CNTKv2LibraryDll</ProjectName>
|
|
|
|
|
<LibraryVersion>2.0</LibraryVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(SolutionDir)\CNTK.Cpp.props" />
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
|
<PropertyGroup Label="Configuration">
|
|
|
|
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
|
|
|
|
<PlatformToolset>v120</PlatformToolset>
|
|
|
|
|
<CharacterSet>Unicode</CharacterSet>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="$(DebugBuild)" Label="Configuration">
|
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="$(ReleaseBuild)" Label="Configuration">
|
|
|
|
|
<UseDebugLibraries>false</UseDebugLibraries>
|
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
|
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
|
<PropertyGroup Condition="$(DebugBuild)">
|
|
|
|
|
<LinkIncremental>true</LinkIncremental>
|
|
|
|
|
<TargetName>CNTKLibrary-$(LibraryVersion)</TargetName>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="$(ReleaseBuild)">
|
|
|
|
|
<LinkIncremental>false</LinkIncremental>
|
|
|
|
|
<TargetName>CNTKLibrary-$(LibraryVersion)</TargetName>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
|
<ClCompile>
|
2016-07-24 23:02:55 +03:00
|
|
|
|
<AdditionalIncludeDirectories>.\API;$(SolutionDir)Source\SGDLib;$(SolutionDir)Source\Readers\ReaderLib;$(SolutionDir)Source\ComputationNetworkLib;$(SolutionDir)Source\SequenceTrainingLib;$(SolutionDir)Source\Math;$(SolutionDir)Source\Common\Include;$(SolutionDir)Source\CNTK\BrainScript;$(SolutionDir)Source\ActionsLib;$(MSMPI_INC);$(NvmlInclude)</AdditionalIncludeDirectories>
|
2016-05-31 16:40:40 +03:00
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<AdditionalLibraryDirectories>$(SolutionDir)Source\ComputationNetworkLib;$(SolutionDir)Source\Math;$(MSMPI_LIB64);$(SolutionDir)$(Platform)\$(Configuration);$(NvmlLibPath)</AdditionalLibraryDirectories>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="$(DebugBuild)">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
|
|
|
<WarningLevel>Level4</WarningLevel>
|
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
|
<PreprocessorDefinitions>CNTKV2LIBRARYDLL;WIN32;_DEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
|
|
|
<AdditionalOptions>/bigobj %(AdditionalOptions)</AdditionalOptions>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<SubSystem>Console</SubSystem>
|
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
2016-07-24 23:02:55 +03:00
|
|
|
|
<AdditionalDependencies>ComputationNetworkLib.lib; Math.lib; Common.lib; SequenceTrainingLib.lib; ReaderLib.lib; kernel32.lib; user32.lib; shell32.lib; %(AdditionalDependencies)</AdditionalDependencies>
|
2016-05-31 16:40:40 +03:00
|
|
|
|
<DelayLoadDLLs>Math.dll; nvml.dll; $(CudaRuntimeDll)</DelayLoadDLLs>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="$(ReleaseBuild)">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<WarningLevel>Level4</WarningLevel>
|
|
|
|
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
|
|
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
|
|
|
|
<PreprocessorDefinitions>CNTKV2LIBRARYDLL;WIN32;NDEBUG;_WINDOWS;_USRDLL;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
<SDLCheck>true</SDLCheck>
|
|
|
|
|
<OpenMPSupport>false</OpenMPSupport>
|
|
|
|
|
<AdditionalOptions>/d2Zi+ /bigobj %(AdditionalOptions)</AdditionalOptions>
|
|
|
|
|
<RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
|
|
|
|
|
<TreatWarningAsError>true</TreatWarningAsError>
|
|
|
|
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<SubSystem>Console</SubSystem>
|
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
|
|
|
<OptimizeReferences>true</OptimizeReferences>
|
2016-07-24 23:02:55 +03:00
|
|
|
|
<AdditionalDependencies>ComputationNetworkLib.lib; Math.lib; Common.lib; ReaderLib.lib; kernel32.lib; user32.lib; shell32.lib; SequenceTrainingLib.lib; %(AdditionalDependencies)</AdditionalDependencies>
|
2016-05-31 16:40:40 +03:00
|
|
|
|
<Profile>true</Profile>
|
|
|
|
|
<DelayLoadDLLs>Math.dll; nvml.dll; $(CudaRuntimeDll)</DelayLoadDLLs>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="$(CpuOnlyBuild)">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<PreprocessorDefinitions>CPUONLY;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<DelayLoadDLLs>Math.dll</DelayLoadDLLs>
|
|
|
|
|
</Link>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="$(GpuBuild)">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(CudaInclude)</AdditionalIncludeDirectories>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<AdditionalLibraryDirectories>%(AdditionalLibraryDirectories);$(CudaLibPath)</AdditionalLibraryDirectories>
|
|
|
|
|
</Link>
|
|
|
|
|
<PostBuildEvent>
|
|
|
|
|
<Command>if exist "%ProgramW6432%\NVIDIA Corporation\NVSMI" xcopy /I /D /Y "%ProgramW6432%\NVIDIA Corporation\NVSMI\nvml*.dll" "$(TargetDir)"</Command>
|
|
|
|
|
<Message>Copying NVidia GDK extension DLL to target folder</Message>
|
|
|
|
|
</PostBuildEvent>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<ClInclude Include="API\CNTKLibrary.h" />
|
2016-09-02 16:12:07 +03:00
|
|
|
|
<ClInclude Include="API\CNTKLibraryExperimental.h" />
|
2016-05-31 16:40:40 +03:00
|
|
|
|
<ClInclude Include="API\CNTKLibraryInternals.h" />
|
|
|
|
|
<ClInclude Include="Function.h" />
|
2016-07-13 10:37:06 +03:00
|
|
|
|
<ClInclude Include="Learner.h" />
|
2016-07-23 02:46:09 +03:00
|
|
|
|
<ClInclude Include="MinibatchSource.h" />
|
2016-05-31 16:40:40 +03:00
|
|
|
|
<ClInclude Include="Utils.h" />
|
|
|
|
|
<ClInclude Include="stdafx.h" />
|
|
|
|
|
<ClInclude Include="targetver.h" />
|
2016-09-18 00:27:27 +03:00
|
|
|
|
<ClInclude Include="Value.h" />
|
2016-05-31 16:40:40 +03:00
|
|
|
|
</ItemGroup>
|
|
|
|
|
<ItemGroup>
|
2016-07-18 02:44:44 +03:00
|
|
|
|
<ClCompile Include="BackCompat.cpp" />
|
2016-05-31 16:40:40 +03:00
|
|
|
|
<ClCompile Include="Common.cpp" />
|
2016-08-26 22:14:23 +03:00
|
|
|
|
<ClCompile Include="ComputeInputStatistics.cpp" />
|
2016-05-31 16:40:40 +03:00
|
|
|
|
<ClCompile Include="dllmain.cpp">
|
|
|
|
|
<CompileAsManaged>false</CompileAsManaged>
|
|
|
|
|
<PrecompiledHeader>
|
|
|
|
|
</PrecompiledHeader>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<ClCompile Include="Function.cpp" />
|
2016-07-13 10:37:06 +03:00
|
|
|
|
<ClCompile Include="Learner.cpp" />
|
2016-07-23 02:46:09 +03:00
|
|
|
|
<ClCompile Include="MinibatchSource.cpp" />
|
2016-05-31 16:40:40 +03:00
|
|
|
|
<ClCompile Include="NDArrayView.cpp" />
|
2016-06-05 04:26:52 +03:00
|
|
|
|
<ClCompile Include="NDMask.cpp" />
|
2016-05-31 16:40:40 +03:00
|
|
|
|
<ClCompile Include="stdafx.cpp">
|
|
|
|
|
<PrecompiledHeader>Create</PrecompiledHeader>
|
|
|
|
|
</ClCompile>
|
2016-07-23 02:46:09 +03:00
|
|
|
|
<ClCompile Include="Trainer.cpp" />
|
2016-05-31 16:40:40 +03:00
|
|
|
|
<ClCompile Include="Utils.cpp" />
|
|
|
|
|
<ClCompile Include="Value.cpp" />
|
|
|
|
|
<ClCompile Include="Variable.cpp" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
</Project>
|