2021-10-21 19:04:49 +08:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<CUDAPropsPath Condition="'$(CUDAPropsPath)'==''">$(VCTargetsPath)\BuildCustomizations</CUDAPropsPath>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<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>
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<PropertyGroup Label="Globals">
|
|
|
|
|
<ProjectGuid>{997E0757-EA74-4A4E-A0FC-47D8C8831A15}</ProjectGuid>
|
|
|
|
|
<RootNamespace>scalarProd_vs2017</RootNamespace>
|
|
|
|
|
<ProjectName>scalarProd</ProjectName>
|
|
|
|
|
<CudaToolkitCustomDir />
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(WindowsTargetPlatformVersion)'==''">
|
|
|
|
|
<LatestTargetPlatformVersion>$([Microsoft.Build.Utilities.ToolLocationHelper]::GetLatestSDKTargetPlatformVersion('Windows', '10.0'))</LatestTargetPlatformVersion>
|
|
|
|
|
<WindowsTargetPlatformVersion Condition="'$(WindowsTargetPlatformVersion)' == ''">$(LatestTargetPlatformVersion)</WindowsTargetPlatformVersion>
|
|
|
|
|
<TargetPlatformVersion>$(WindowsTargetPlatformVersion)</TargetPlatformVersion>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<ConfigurationType>Application</ConfigurationType>
|
|
|
|
|
<CharacterSet>MultiByte</CharacterSet>
|
|
|
|
|
<PlatformToolset>v141</PlatformToolset>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Debug'">
|
|
|
|
|
<UseDebugLibraries>true</UseDebugLibraries>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
|
|
|
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
|
|
|
|
<ImportGroup Label="ExtensionSettings">
|
2023-06-30 03:33:40 +08:00
|
|
|
|
<Import Project="$(CUDAPropsPath)\CUDA 12.2.props" />
|
2021-10-21 19:04:49 +08:00
|
|
|
|
</ImportGroup>
|
|
|
|
|
<ImportGroup Label="PropertySheets">
|
|
|
|
|
<Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" />
|
|
|
|
|
</ImportGroup>
|
|
|
|
|
<PropertyGroup Label="UserMacros" />
|
|
|
|
|
<PropertyGroup>
|
|
|
|
|
<IntDir>$(Platform)/$(Configuration)/</IntDir>
|
|
|
|
|
<IncludePath>$(IncludePath)</IncludePath>
|
|
|
|
|
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
|
|
|
|
<CodeAnalysisRules />
|
|
|
|
|
<CodeAnalysisRuleAssemblies />
|
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<PropertyGroup Condition="'$(Platform)'=='x64'">
|
2022-01-13 14:05:24 +08:00
|
|
|
|
<OutDir>../../../bin/win64/$(Configuration)/</OutDir>
|
2021-10-21 19:04:49 +08:00
|
|
|
|
</PropertyGroup>
|
|
|
|
|
<ItemDefinitionGroup>
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<WarningLevel>Level3</WarningLevel>
|
|
|
|
|
<PreprocessorDefinitions>WIN32;_MBCS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
2022-01-13 14:05:24 +08:00
|
|
|
|
<AdditionalIncludeDirectories>./;$(CudaToolkitDir)/include;../../../Common;</AdditionalIncludeDirectories>
|
2021-10-21 19:04:49 +08:00
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<SubSystem>Console</SubSystem>
|
|
|
|
|
<AdditionalDependencies>cudart_static.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
|
|
|
|
<AdditionalLibraryDirectories>$(CudaToolkitLibDir);</AdditionalLibraryDirectories>
|
|
|
|
|
<OutputFile>$(OutDir)/scalarProd.exe</OutputFile>
|
|
|
|
|
</Link>
|
|
|
|
|
<CudaCompile>
|
2023-02-28 06:33:19 +08:00
|
|
|
|
<CodeGeneration>compute_50,sm_50;compute_52,sm_52;compute_60,sm_60;compute_61,sm_61;compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;compute_86,sm_86;compute_89,sm_89;compute_90,sm_90;</CodeGeneration>
|
2022-01-13 14:05:24 +08:00
|
|
|
|
<AdditionalOptions>-Xcompiler "/wd 4819" --threads 0 </AdditionalOptions>
|
|
|
|
|
<Include>./;../../../Common</Include>
|
2021-10-21 19:04:49 +08:00
|
|
|
|
<Defines>WIN32</Defines>
|
|
|
|
|
</CudaCompile>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<Optimization>Disabled</Optimization>
|
|
|
|
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
|
|
|
<LinkTimeCodeGeneration>Default</LinkTimeCodeGeneration>
|
|
|
|
|
</Link>
|
|
|
|
|
<CudaCompile>
|
|
|
|
|
<Runtime>MTd</Runtime>
|
|
|
|
|
<TargetMachinePlatform>64</TargetMachinePlatform>
|
|
|
|
|
</CudaCompile>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
|
|
|
|
|
<ClCompile>
|
|
|
|
|
<Optimization>MaxSpeed</Optimization>
|
|
|
|
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
|
|
|
|
</ClCompile>
|
|
|
|
|
<Link>
|
|
|
|
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
|
|
|
|
<LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
|
|
|
|
|
</Link>
|
|
|
|
|
<CudaCompile>
|
|
|
|
|
<Runtime>MT</Runtime>
|
|
|
|
|
<TargetMachinePlatform>64</TargetMachinePlatform>
|
|
|
|
|
</CudaCompile>
|
|
|
|
|
</ItemDefinitionGroup>
|
|
|
|
|
<ItemGroup>
|
|
|
|
|
<CudaCompile Include="scalarProd.cu" />
|
|
|
|
|
<ClCompile Include="scalarProd_cpu.cpp" />
|
|
|
|
|
<None Include="scalarProd_kernel.cuh" />
|
|
|
|
|
</ItemGroup>
|
|
|
|
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
|
|
|
|
<ImportGroup Label="ExtensionTargets">
|
2023-06-30 03:33:40 +08:00
|
|
|
|
<Import Project="$(CUDAPropsPath)\CUDA 12.2.targets" />
|
2021-10-21 19:04:49 +08:00
|
|
|
|
</ImportGroup>
|
|
|
|
|
</Project>
|