Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
f96aa4b
update README: clone submodule (#323)
suiguoxin Jul 28, 2022
a192a17
Update git clone command to include ThirdParty submodules (#326)
phgn0 Jul 29, 2022
465eb3b
improve performance and memory usage (#321)
MaggieQi Aug 10, 2022
759758c
add tools for opq training and inference (#324)
jinwei14 Aug 31, 2022
60f709b
Fix build errors for GPU PQ
bkarsin Sep 15, 2022
4d2eccf
Added more error checking for GPU PQ
bkarsin Sep 19, 2022
4cabd0b
Small fixes
bkarsin Sep 20, 2022
5ce6fd2
Fix Windows build error
bkarsin Sep 22, 2022
2b17965
Fix zstd build/link error
bkarsin Sep 22, 2022
77b93a2
Fix for Windows build
bkarsin Sep 22, 2022
5112fff
Add SIMDUtils.cpp to GPU build
Diego-Cai Sep 22, 2022
6242cff
Try to trigger Azure Pipeline CL build
Diego-Cai Sep 26, 2022
cbc4e0d
Remove space
Diego-Cai Sep 27, 2022
ca61760
Merge pull request #334 from bkarsin/fix_gpu_pq_build
caijiediego Sep 27, 2022
55ca655
Add GPU KNN to Generate Truth (#336)
caijiediego Oct 8, 2022
f7e3fe4
Fix low accuracy issue with GPU index build for int8/cosine configura…
bkarsin Nov 1, 2022
636b3d6
Add nni_auto_tune example (#325)
smallv0221 Nov 1, 2022
98ef3b1
Fix graph accuracy of GPU build for PQ/OPQ (#340)
bkarsin Nov 3, 2022
3d76e5e
Add 768D support for GPU Generate Ground Truth (#343)
caijiediego Nov 3, 2022
ebeb690
Fix windows build issues for GPU code (#346)
bkarsin Nov 17, 2022
2d2cfb3
fix bkt bug: shuffle bug when clustering (#349)
Yuming-Xu Nov 29, 2022
dda1180
Fix python version (#333)
MaggieQi Dec 2, 2022
de5b7f8
add logger for total distance (#351)
jinwei14 Jan 6, 2023
9c777df
Prevent saving failure in SaveindexToFile (#355)
PhilipBAdams Feb 21, 2023
a5bd48e
Fix static initialization fiasco problem with the logger and code cal…
asklar Feb 22, 2023
a9fb933
Add WinRT wrapper (#360)
asklar Mar 1, 2023
0207479
add nuget package for WinRT (#361)
asklar Mar 1, 2023
5ffeabe
Thread local context (#359)
MaggieQi Mar 9, 2023
d082b55
Update WindowsInstallation.md (#365)
MS-Renan Mar 13, 2023
b725cac
Update versions in requirements.txt to patched versions (#367)
0x4248 Mar 15, 2023
e950fad
add filter support for BKT index (#368)
zqxjjj Mar 16, 2023
fe03712
Rename logging macro to avoid name conflicts (#366)
PhilipBAdams Mar 16, 2023
ac85ff4
Allow setting a different Logger at runtime (#370)
PhilipBAdams Mar 21, 2023
72f929d
add filter support for BKT: replace function pointer to std::fucntion…
zqxjjj Mar 23, 2023
0341c33
Add protections against overflow and size mismatch, and invalid IDs i…
PhilipBAdams Mar 23, 2023
d6aca40
Add dimension check for ProcessWithoutMPI. (#373)
yangliu-ms Mar 27, 2023
2c0bb04
resolve compilation warnings (#374)
limenghao Apr 2, 2023
fc24d65
Fix 384d GPU index build support and error reporting (#363)
bkarsin Apr 2, 2023
3b00327
Clr core (#376)
MaggieQi Apr 4, 2023
0df1b75
std::out_of_range doesn't have a default constructor (#378)
PhilipBAdams Apr 10, 2023
98bc296
Remove old cuda tests and fix linux build error (#381)
bkarsin May 4, 2023
ccb78d6
enhance syncing script uploading and downloading (#382)
jinwei14 May 4, 2023
268578d
Avoid off-by-one in BKT search (#383)
PhilipBAdams May 9, 2023
b28eafa
Clr core (#385)
MaggieQi May 24, 2023
ff3825d
Microsoft mandatory file
microsoft-github-policy-service[bot] Jun 2, 2023
2ffaec6
Auto merge mandatory file pr
microsoft-github-policy-service[bot] Jun 12, 2023
c05bdc8
More gracefully handle when invalid IDs are inserted or checked in th…
PhilipBAdams Jul 18, 2023
35a9bd1
Convenience functions for parsing SPANN index (#384)
PhilipBAdams Aug 15, 2023
176e7cd
When storing metadata, we were truncating at the first '\n' which is …
asklar Aug 28, 2023
7e9ff64
Opt perf and fix thread affinity bug (#395)
MaggieQi Oct 11, 2023
1f6a85e
fix compile failed, ErrorCode::fail should be ErrorCode::Fail (#404)
dlmodric Dec 15, 2023
0dedbd9
Iterator interface (#407)
zqxjjj Feb 2, 2024
e7e4f71
add Wait() method to SPTAG::Helper::DiskIO (#409)
hliu18 Apr 27, 2024
9d7da69
Bump pillow from 9.4.0 to 10.0.1 in /docs/examples (#399)
dependabot[bot] May 1, 2024
4ecf249
[Draft] GPU unit and integration tests (#377)
bkarsin May 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
403 changes: 402 additions & 1 deletion .gitignore

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion AnnService.users.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@

<PropertyGroup Label="UserMacros">
<OutAppDir>$(SolutionDir)\$(Platform)\$(Configuration)\</OutAppDir>
<OutLibDir>$(SolutionDir)\$(Platform)\$(Configuration)\</OutLibDir>
<OutLibDir>$(SolutionDir)\$(Platform)\$(Configuration)\</OutLibDir>
<JavaIncDir></JavaIncDir>
<JavaLib></JavaLib>
<PYTHON_VERSION>3.9</PYTHON_VERSION>
</PropertyGroup>
</Project>

7 changes: 7 additions & 0 deletions AnnService/BalancedDataPartition.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -148,5 +148,12 @@
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets" Condition="Exists('..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets')" />
</ImportGroup>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Zstandard.dyn.x64.1.4.0\build\native\Zstandard.dyn.x64.targets'))" />
</Target>
</Project>
13 changes: 2 additions & 11 deletions AnnService/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
endif()

add_library (SPTAGLib SHARED ${SRC_FILES} ${HDR_FILES})
target_link_libraries (SPTAGLib DistanceUtils libzstd_shared)
target_link_libraries (SPTAGLib DistanceUtils libzstd_shared ${NUMA_LIBRARY})
add_library (SPTAGLibStatic STATIC ${SRC_FILES} ${HDR_FILES})
target_link_libraries (SPTAGLibStatic DistanceUtils libzstd_static)
target_link_libraries (SPTAGLibStatic DistanceUtils libzstd_static ${NUMA_LIBRARY_STATIC})
if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
target_compile_options(SPTAGLibStatic PRIVATE -fPIC)
endif()
Expand Down Expand Up @@ -87,15 +87,6 @@ endif()

file(GLOB_RECURSE SSD_SERVING_HDR_FILES ${AnnService}/inc/SSDServing/*.h)
file(GLOB_RECURSE SSD_SERVING_FILES ${AnnService}/src/SSDServing/*.cpp)
#if(NOT WIN32)
# list(REMOVE_ITEM SSD_SERVING_HDR_FILES
# ${VECTORSEARCH_INC_DIR}/AsyncFileReader.h
# )
#elseif(WIN32)
# list(REMOVE_ITEM SSD_SERVING_HDR_FILES
# ${VECTORSEARCH_INC_DIR}/AsyncFileReaderLinux.h
# )
#endif()

add_executable(ssdserving ${SSD_SERVING_HDR_FILES} ${SSD_SERVING_FILES})
target_link_libraries(ssdserving SPTAGLibStatic ${Boost_LIBRARIES})
Expand Down
11 changes: 11 additions & 0 deletions AnnService/CoreLibrary.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@
<PreprocessorDefinitions>_MBCS;_SCL_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalOptions>/Zc:twoPhase- /Zc:__cplusplus %(AdditionalOptions)</AdditionalOptions>
<LanguageStandard>stdcpp17</LanguageStandard>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<EnableEnhancedInstructionSet>AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<OmitFramePointers>true</OmitFramePointers>
<FloatingPointModel>Fast</FloatingPointModel>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
Expand Down Expand Up @@ -159,6 +164,8 @@
<ClInclude Include="inc\Core\CommonDataStructure.h" />
<ClInclude Include="inc\Core\DefinitionList.h" />
<ClInclude Include="inc\Core\MetadataSet.h" />
<ClInclude Include="inc\Core\MultiIndexScan.h" />
<ClInclude Include="inc\Core\ResultIterator.h" />
<ClInclude Include="inc\Core\SearchQuery.h" />
<ClInclude Include="inc\Core\SearchResult.h" />
<ClInclude Include="inc\Core\SPANN\Compressor.h" />
Expand All @@ -167,6 +174,7 @@
<ClInclude Include="inc\Core\SPANN\Index.h" />
<ClInclude Include="inc\Core\SPANN\Options.h" />
<ClInclude Include="inc\Core\SPANN\ParameterDefinitionList.h" />
<ClInclude Include="inc\Core\SPANN\SPANNResultIterator.h" />
<ClInclude Include="inc\Core\VectorIndex.h" />
<ClInclude Include="inc\Core\VectorSet.h" />
<ClInclude Include="inc\Helper\ArgumentsParser.h" />
Expand Down Expand Up @@ -198,9 +206,12 @@
<ClCompile Include="src\Core\Common\InstructionUtils.cpp" />
<ClCompile Include="src\Core\Common\IQuantizer.cpp" />
<ClCompile Include="src\Core\Common\SIMDUtils.cpp" />
<ClCompile Include="src\Core\Common\TruthSet.cpp" />
<ClCompile Include="src\Core\SPANN\SPANNIndex.cpp" />
<ClCompile Include="src\Core\VectorSet.cpp" />
<ClCompile Include="src\Core\MetadataSet.cpp" />
<ClCompile Include="src\Core\MultiIndexScan.cpp" />
<ClCompile Include="src\Core\ResultIterator.cpp" />
<ClCompile Include="src\Core\BKT\BKTIndex.cpp" />
<ClCompile Include="src\Core\KDT\KDTIndex.cpp" />
<ClCompile Include="src\Core\Common\NeighborhoodGraph.cpp" />
Expand Down
24 changes: 21 additions & 3 deletions AnnService/CoreLibrary.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,12 @@
<ClInclude Include="inc\Core\MetadataSet.h">
<Filter>Header Files\Core</Filter>
</ClInclude>
<ClInclude Include="inc\Core\MultiIndexScan.h">
<Filter>Header Files\Core</Filter>
</ClInclude>
<ClInclude Include="inc\Core\ResultIterator.h">
<Filter>Header Files\Core</Filter>
</ClInclude>
<ClInclude Include="inc\Core\VectorSet.h">
<Filter>Header Files\Core</Filter>
</ClInclude>
Expand Down Expand Up @@ -220,6 +226,9 @@
<ClInclude Include="inc\Core\Common\SIMDUtils.h">
<Filter>Header Files\Core\Common</Filter>
</ClInclude>
<ClInclude Include="inc\Core\SPANN\SPANNResultIterator.h">
<Filter>Header Files\Core\SPANN</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\Core\VectorIndex.cpp">
Expand All @@ -237,6 +246,12 @@
<ClCompile Include="src\Core\MetadataSet.cpp">
<Filter>Source Files\Core</Filter>
</ClCompile>
<ClCompile Include="src\Core\MultiIndexScan.cpp">
<Filter>Source Files\Core</Filter>
</ClCompile>
<ClCompile Include="src\Core\ResultIterator.cpp">
<Filter>Source Files\Core</Filter>
</ClCompile>
<ClCompile Include="src\Helper\Base64Encode.cpp">
<Filter>Source Files\Helper</Filter>
</ClCompile>
Expand Down Expand Up @@ -282,15 +297,18 @@
<ClCompile Include="src\Core\Common\CommonUtils.cpp">
<Filter>Source Files\Core\Common</Filter>
</ClCompile>
<ClCompile Include="src\Core\Common\SIMDUtils.cpp">
<Filter>Source Files\Core\Common</Filter>
</ClCompile>
<ClCompile Include="src\Core\Common\TruthSet.cpp">
<Filter>Source Files\Core\Common</Filter>
</ClCompile>
<ClCompile Include="src\Core\SPANN\SPANNIndex.cpp">
<Filter>Source Files\Core\SPANN</Filter>
</ClCompile>
<ClCompile Include="src\Helper\AsyncFileReader.cpp">
<Filter>Source Files\Helper</Filter>
</ClCompile>
<ClCompile Include="src\Core\Common\SIMDUtils.cpp">
<Filter>Source Files\Core\Common</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand Down
17 changes: 15 additions & 2 deletions AnnService/GPUCoreLibrary.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<RootNamespace>GPUCoreLibrary</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
<ProjectName>GPUCoreLibrary</ProjectName>
<CudaToolkitCustomDir>$(CUDA_PATH)</CudaToolkitCustomDir>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<Import Project="$(SolutionDir)\AnnService.users.props" />
Expand All @@ -23,6 +24,7 @@
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>v142</PlatformToolset>
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
Expand Down Expand Up @@ -50,6 +52,7 @@
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>false</LinkIncremental>
<PublicIncludeDirectories>$(CudaToolkitIncludeDir);$(PublicIncludeDirectories)</PublicIncludeDirectories>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
Expand All @@ -60,6 +63,7 @@
<OpenMPSupport>true</OpenMPSupport>
<DisableSpecificWarnings>4819;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
Expand All @@ -70,10 +74,13 @@
<TargetMachinePlatform>64</TargetMachinePlatform>
<CodeGeneration>compute_70,sm_70;compute_75,sm_75;compute_80,sm_80;</CodeGeneration>
<Defines>WIN32;%(Defines)</Defines>
<Runtime>MTd</Runtime>
<Runtime>InheritFromHost</Runtime>
<AdditionalCompilerOptions>/openmp /std:c++14 /Zc:__cplusplus /FS</AdditionalCompilerOptions>
<FastMath>true</FastMath>
<Optimization>InheritFromHost</Optimization>
<Include>%(Include)</Include>
<CudaRuntime>Static</CudaRuntime>
<TargetMachinePlatform>64</TargetMachinePlatform>
</CudaCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Expand All @@ -86,6 +93,8 @@
<OpenMPSupport>true</OpenMPSupport>
<DisableSpecificWarnings>4819;%(DisableSpecificWarnings)</DisableSpecificWarnings>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
Expand All @@ -106,11 +115,13 @@
<ItemGroup>
<CudaCompile Include="src\Core\Common\Kernel.cu" />
<CudaCompile Include="src\Core\Common\NeighborhoodGraph.cpp" />
<CudaCompile Include="src\Core\Common\TruthSet.cpp" />
<CudaCompile Include="src\Core\BKT\BKTIndex.cpp" />
<CudaCompile Include="src\Core\KDT\KDTIndex.cpp" />
<CudaCompile Include="src\Core\MetadataSet.cpp" />
<CudaCompile Include="src\Core\VectorIndex.cpp" />
<CudaCompile Include="src\Core\VectorSet.cpp" />
<CudaCompile Include="src\Core\SPANN\SPANNIndex.cpp" />
<CudaCompile Include="src\Helper\ArgumentsParser.cpp" />
<CudaCompile Include="src\Helper\Base64Encode.cpp" />
<CudaCompile Include="src\Helper\CommonHelper.cpp" />
Expand All @@ -130,6 +141,8 @@
<ClInclude Include="inc\Core\Common\cuda\TailNeighbors.hxx" />
<ClInclude Include="inc\Core\Common\cuda\ThreadHeap.hxx" />
<ClInclude Include="inc\Core\Common\cuda\TPtree.hxx" />
<ClInclude Include="inc\Core\Common\cuda\Kdtree.hxx" />
<ClInclude Include="inc\Core\Common\cuda\log.hxx" />
<ClInclude Include="inc\Core\Common\FineGrainedLock.h" />
<ClInclude Include="inc\Core\Common\InstructionUtils.h" />
<ClInclude Include="inc\Core\Common\KNearestNeighborhoodGraph.h" />
Expand Down Expand Up @@ -186,7 +199,7 @@
<ClCompile Include="src\Core\Common\DistanceUtils.cpp" />
<ClCompile Include="src\Core\Common\InstructionUtils.cpp" />
<ClCompile Include="src\Core\Common\IQuantizer.cpp" />
<ClCompile Include="src\Core\SPANN\SPANNIndex.cpp" />
<ClCompile Include="src\Core\Common\SIMDUtils.cpp" />
<ClCompile Include="src\Helper\AsyncFileReader.cpp" />
<ClCompile Include="src\Helper\DynamicNeighbors.cpp" />
<ClCompile Include="src\Helper\VectorSetReaders\TxtReader.cpp" />
Expand Down
21 changes: 15 additions & 6 deletions AnnService/GPUCoreLibrary.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@
<ClInclude Include="inc\Core\Common\KNearestNeighborhoodGraph.h">
<Filter>Header Files\Core\Common</Filter>
</ClInclude>
<ClInclude Include="inc\Core\Common\cuda\KNN.hxx">
<Filter>Header Files\Core\Common\cuda</Filter>
</ClInclude>
<ClInclude Include="inc\Core\Common\cuda\params.h">
<Filter>Header Files\Core\Common\cuda</Filter>
</ClInclude>
Expand Down Expand Up @@ -226,6 +223,12 @@
<ClInclude Include="inc\Core\Common\TruthSet.h">
<Filter>Header Files\Core\Common</Filter>
</ClInclude>
<ClInclude Include="inc\Core\Common\cuda\Kdtree.hxx">
<Filter>Header Files\Core\Common\cuda</Filter>
</ClInclude>
<ClInclude Include="inc\Core\Common\cuda\KNN.hxx">
<Filter>Header Files\Core\Common\cuda</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<CudaCompile Include="src\Core\Common\Kernel.cu">
Expand Down Expand Up @@ -270,6 +273,12 @@
<CudaCompile Include="src\Helper\VectorSetReader.cpp">
<Filter>Source Files\Helper</Filter>
</CudaCompile>
<CudaCompile Include="src\Core\SPANN\SPANNIndex.cpp">
<Filter>Source Files\Core\SPANN</Filter>
</CudaCompile>
<CudaCompile Include="src\Core\Common\TruthSet.cpp">
<Filter>Source Files\Core\Common</Filter>
</CudaCompile>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
Expand All @@ -290,9 +299,6 @@
<ClCompile Include="src\Core\Common\DistanceUtils.cpp">
<Filter>Source Files\Core\Common</Filter>
</ClCompile>
<ClCompile Include="src\Core\SPANN\SPANNIndex.cpp">
<Filter>Source Files\Core\SPANN</Filter>
</ClCompile>
<ClCompile Include="src\Core\Common\CommonUtils.cpp">
<Filter>Source Files\Core\Common</Filter>
</ClCompile>
Expand All @@ -302,5 +308,8 @@
<ClCompile Include="src\Helper\AsyncFileReader.cpp">
<Filter>Source Files\Helper</Filter>
</ClCompile>
<ClCompile Include="src\Core\Common\SIMDUtils.cpp">
<Filter>Source Files\Core\Common</Filter>
</ClCompile>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions AnnService/GPUIndexBuilder.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
</CudaCompile>
</ItemDefinitionGroup>
<ItemGroup>
<CudaCompile Include="src\Core\Common\Kernel.cu" />
<CudaCompile Include="src\IndexBuilder\main.cpp" />
</ItemGroup>
<ItemGroup>
Expand Down
2 changes: 2 additions & 0 deletions AnnService/GPUSSDServing.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@
<AdditionalCompilerOptions>/openmp /std:c++14 /Zc:__cplusplus /FS /D "_exe"</AdditionalCompilerOptions>
<FastMath>true</FastMath>
<Optimization>InheritFromHost</Optimization>
<CudaRuntime>Static</CudaRuntime>
<TargetMachinePlatform>64</TargetMachinePlatform>
</CudaCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
Expand Down
4 changes: 1 addition & 3 deletions AnnService/GPUSSDServing.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="src\SSDServing\main.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<CudaCompile Include="src\SSDServing\main.cpp" />
</ItemGroup>
</Project>
8 changes: 7 additions & 1 deletion AnnService/SSDServing.vcxproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
Expand Down Expand Up @@ -161,6 +161,12 @@
<OpenMPSupport>true</OpenMPSupport>
<AdditionalOptions>/Zc:twoPhase- %(AdditionalOptions)</AdditionalOptions>
<LanguageStandard>stdcpp17</LanguageStandard>
<ProgramDataBaseFileName>$(IntDir)$(ProjectName).pdb</ProgramDataBaseFileName>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<EnableEnhancedInstructionSet>AdvancedVectorExtensions</EnableEnhancedInstructionSet>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<OmitFramePointers>true</OmitFramePointers>
<FloatingPointModel>Fast</FloatingPointModel>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
Expand Down
Loading
Loading