Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for windows + cuda? #1586

Closed
2 of 4 tasks
h-vetinari opened this issue Dec 22, 2020 · 13 comments
Closed
2 of 4 tasks

Support for windows + cuda? #1586

h-vetinari opened this issue Dec 22, 2020 · 13 comments

Comments

@h-vetinari
Copy link
Contributor

h-vetinari commented Dec 22, 2020

Summary

conda-forge recently added windows support for faiss, and - based on the infrastructure there - that makes it an automatic candidate for also building for windows + cuda, which is currently being worked on in conda-forge/faiss-split-feedstock#19.

After fixing some problems with cmake etc., we're now at the point where things start compiling, but this is running into a whole host of compilation errors. It seems that MSVC + nvcc aren't nearly as far as on linux (e.g. no C++14 support, whereas on linux C++11 is deprecated), and so the question is if there is interest in reaching compatibility with windows + cuda for faiss, and how these ~250 errors should be tackled, resp. such work should be structured.

     3>Project "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (3) is building "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (3:75) on node 1 (CudaBuildCore target(s)).
  3:75>Building with tools version "15.0".
  3:75>Target "SetBuildDefaultEnvironmentVariables" in file "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.Cpp.Current.targets" from project "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (target "CudaBuildCore" depends on it):
       Using "SetEnv" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll".
       Task "SetEnv"
         PATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x86;C:\Program Files (x86)\Windows Kits\10\bin\x86;;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\bin\NETFX 4.6.1 Tools;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\tools;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\ide;C:\Program Files (x86)\HTML Help Workshop;;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin;C:\windows\Microsoft.NET\Framework\v4.0.30319\;;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCPackages;C:\Program Files (x86)\Microsoft SDKs\TypeScript\3.1;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\bin\Roslyn;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Team Tools\Performance Tools\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Team Tools\Performance Tools;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\\x64;C:\Program Files (x86)\Microsoft Visual Studio\Shared\Common\VSPerfCollectionTools\;C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.6.1 Tools\x64\;C:\Program Files (x86)\HTML Help Workshop;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\FSharp\;C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\\MSBuild\15.0\bin;C:\windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\Tools\;D:\bld\faiss-split_1608631005576\_build_env;D:\bld\faiss-split_1608631005576\_build_env\Library\mingw-w64\bin;D:\bld\faiss-split_1608631005576\_build_env\Library\usr\bin;D:\bld\faiss-split_1608631005576\_build_env\Library\bin;D:\bld\faiss-split_1608631005576\_build_env\Scripts;D:\bld\faiss-split_1608631005576\_build_env\bin;D:\bld\faiss-split_1608631005576\_h_env;D:\bld\faiss-split_1608631005576\_h_env\Library\mingw-w64\bin;D:\bld\faiss-split_1608631005576\_h_env\Library\usr\bin;D:\bld\faiss-split_1608631005576\_h_env\Library\bin;D:\bld\faiss-split_1608631005576\_h_env\Scripts;D:\bld\faiss-split_1608631005576\_h_env\bin;C:\Miniconda\condabin;C:\Miniconda;C:\Miniconda\Library\mingw-w64\bin;C:\Miniconda\Library\usr\bin;C:\Miniconda\Library\bin;C:\Miniconda\Scripts;C:\Miniconda\bin;C:\Miniconda\condabin;C:\Miniconda\Scripts;C:\Miniconda;C:\agents\2.179.0\externals\git\cmd;C:\Users\VssAdministrator\.dotnet\tools;C:\Program Files\MongoDB\Server\4.4\bin;C:\ProgramData\kind;C:\vcpkg;C:\cf-cli;C:\Program Files (x86)\NSIS;C:\Program Files\Mercurial;C:\h\windows\stack\2.5.1\x64;C:\ProgramData\chocolatey\lib\ghc.8.10.2.2\tools\ghc-8.10.2\bin;C:\Program Files\dotnet;C:\mysql-5.7.21-winx64\bin;C:\Program Files\R\R-4.0.3\bin\x64;C:\SeleniumWebDrivers\GeckoDriver;C:\Program Files (x86)\GitHub CLI;C:\Program Files\Git\bin;C:\Program Files (x86)\pipx_bin;C:\h\windows\go\1.14.13\x64\bin;C:\h\windows\Python\3.7.9\x64\Scripts;C:\h\windows\Python\3.7.9\x64;C:\h\windows\Ruby\2.5.8\x64\bin;C:\Program Files\Java\jdk8u275-b01\bin;C:\aliyun-cli;C:\npm\prefix;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI;C:\Program Files\Microsoft SDKs\Azure\Azure Dev Spaces CLI;C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\wbin;C:\Program Files\Microsoft MPI\Bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Microsoft\Web Platform Installer;C:\Program Files\Docker;C:\Program Files\PowerShell\7;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit;C:\Program Files\Microsoft Service Fabric\bin\Fabric\Fabric.Code;C:\Program Files\Microsoft SDKs\Service Fabric\Tools\ServiceFabricLocalClusterManager;C:\Program Files\nodejs;C:\ProgramData\chocolatey\lib\pulumi\tools\Pulumi\bin;C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin;C:\Program Files\TortoiseSVN\bin;C:\SeleniumWebDrivers\ChromeDriver;C:\SeleniumWebDrivers\EdgeDriver;C:\Program Files\Amazon\AWSCLIV2;C:\Program Files\Amazon\SessionManagerPlugin\bin;C:\Program Files\Amazon\AWSSAMCLI\bin;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Users\VssAdministrator\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;
       Done executing task "SetEnv".
       Task "SetEnv"
         LIB=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\lib\Spectre\x64;;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\atlmfc\lib\Spectre\x64;;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\VS\lib\x64;;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\ucrt\x64;;;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\VS\UnitTest\lib;C:\Program Files (x86)\Windows Kits\10\lib\10.0.14393.0\um\x64;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\lib\um\x64;;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\Lib\um\x64
       Done executing task "SetEnv".
       Task "SetEnv"
         LIBPATH=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\atlmfc\lib\Spectre\x64;;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\lib\Spectre\x64;
       Done executing task "SetEnv".
       Task "SetEnv"
         INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include;;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\atlmfc\include;;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\VS\include;;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\ucrt;;;C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\VS\UnitTest\include;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\um;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\shared;C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\Include\um;C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\Include\um;
       Done executing task "SetEnv".
  3:75>Done building target "SetBuildDefaultEnvironmentVariables" in project "faiss.vcxproj".
       Target "SetUserMacroEnvironmentVariables" skipped, due to false condition; ('@(BuildMacro)' != '' and '$(DesignTimeBuild)' != 'true') was evaluated as ('' != '' and '' != 'true').
  3:75>Target "PrepareForCudaBuild" in file "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets" from project "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (target "CudaBuildCore" depends on it):
       Using "SanitizePaths" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\Nvda.Build.CudaTasks.v10.0.dll".
       Task "SanitizePaths"
       Done executing task "SanitizePaths".
       Using "CudaSetEnvironmentVariable" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\Nvda.Build.CudaTasks.v10.0.dll".
       Task "CudaSetEnvironmentVariable"
         Nvda.Build.CudaTasks.CudaSetEnvironmentVariable: Setting 'CUDAFE_FLAGS' to '--sdk_dir "C:\Program Files (x86)\Windows Kits\10"'
       Done executing task "CudaSetEnvironmentVariable".
  3:75>Done building target "PrepareForCudaBuild" in project "faiss.vcxproj".
  3:75>Target "CudaBuildCore" in file "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets" from project "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (entry point):
       Building target "CudaBuildCore" completely.
       Output file "faiss.dir\Release\WarpSelectHalfT512.obj" does not exist.
       Task "Message"
         Compiling CUDA source file ..\..\faiss\gpu\utils\warpselect\WarpSelectHalfT512.cu...
       Done executing task "Message".
       Task "Message" skipped, due to false condition; ('$(__ExcludedFromBuild)' == 'true') was evaluated as ('' == 'true').
       Task "MakeDir" skipped, due to false condition; (!Exists('$(CompileOutDir)')) was evaluated as (!Exists('D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.dir\Release')).
       Task "MakeDir" skipped, due to false condition; ('$(__Keep)' == 'true' AND !Exists('$(__KeepDir)')) was evaluated as ('false' == 'true' AND !Exists('x64\Release')).
       Initializing task factory "XamlTaskFactory" from assembly "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
       Using "CudaCompile" task from the task factory "XamlTaskFactory".
       Task "CudaCompile"
         cmd.exe /C "C:\Users\VssAdministrator\AppData\Local\Temp\tmp4b43ee7c5b8d43f29f649c80e0939902.cmd"
         "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalfT512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalfT512.cu"

         (D:\bld\faiss-split_1608631005576\_build_env) (base) D:\bld\faiss-split_1608631005576\work\_build\faiss>"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalfT512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalfT512.cu"
  3:75>D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]

  3:75>D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]

         2 errors detected in the compilation of "C:/Users/VSSADM~1/AppData/Local/Temp/tmpxft_00000ab4_00000000-13_WarpSelectHalfT512.compute_75.cpp1.ii".
         WarpSelectHalfT512.cu
  3:75>C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalfT512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalfT512.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
       Done executing task "CudaCompile" -- FAILED.
  3:75>Done building target "CudaBuildCore" in project "faiss.vcxproj" -- FAILED.
  3:75>Done Building Project "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target(s)) -- FAILED.
     3>Done executing task "MSBuild" -- FAILED.
     3>Done building target "CudaBuild" in project "faiss.vcxproj" -- FAILED.
     3>Done Building Project "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default targets) -- FAILED.
     1>Done executing task "MSBuild" -- FAILED.
     1>Done building target "ResolveProjectReferences" in project "ALL_BUILD.vcxproj" -- FAILED.
     1>Done Building Project "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Build FAILED.

       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:7) ->
       (CudaBuildCore target) ->
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/GpuIndexIVF.cu(227): warning C4477: 'printf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'faiss::Index::idx_t' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:8) ->
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(34): warning : base class dllexport/dllimport specification differs from that of the derived class [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(37): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(59): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(34): warning : base class dllexport/dllimport specification differs from that of the derived class [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(37): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(59): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(34): warning : base class dllexport/dllimport specification differs from that of the derived class [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(37): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(59): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(34): warning : base class dllexport/dllimport specification differs from that of the derived class [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(37): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(59): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(34): warning : base class dllexport/dllimport specification differs from that of the derived class [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(37): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(59): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(34): warning : base class dllexport/dllimport specification differs from that of the derived class [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(37): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(59): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(34): warning : base class dllexport/dllimport specification differs from that of the derived class [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(37): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(59): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(34): warning : base class dllexport/dllimport specification differs from that of the derived class [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(37): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/IndexIVFPQ.h(59): warning : field of class type without a DLL interface used in a class with a DLL interface [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:2) ->
       (CudaBuildCore target) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/impl/DistanceUtils.cuh(337): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/impl/DistanceUtils.cuh(340): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\GpuDistance.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\GpuDistance.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:3) ->
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/GpuIndex.cu(148): error : namespace "std" has no member "max" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/GpuIndex.cu(150): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/GpuIndex.cu(151): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/GpuIndex.cu(154): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/GpuIndex.cu(345): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/GpuIndex.cu(421): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/GpuIndex.cu(446): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/GpuIndex.cu(476): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\GpuIndex.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\GpuIndex.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:4) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/Tensor.cuh(366): error : argument list for template "T::canUseIndexType" is missing [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\GpuIndexFlat.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\GpuIndexFlat.cu"" exited with code 2. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:5) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/Tensor.cuh(366): error : argument list for template "T::canUseIndexType" is missing [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\GpuIndexBinaryFlat.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\GpuIndexBinaryFlat.cu"" exited with code 2. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:6) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/Tensor.cuh(366): error : argument list for template "T::canUseIndexType" is missing [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\GpuIndexIVFFlat.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\GpuIndexIVFFlat.cu"" exited with code 2. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:8) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/Tensor.cuh(366): error : argument list for template "T::canUseIndexType" is missing [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\GpuIndexIVFPQ.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\GpuIndexIVFPQ.cu"" exited with code 2. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:10) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BinaryDistance.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\BinaryDistance.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:9) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/Tensor.cuh(366): error : argument list for template "T::canUseIndexType" is missing [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\GpuIndexIVFScalarQuantizer.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\GpuIndexIVFScalarQuantizer.cu"" exited with code 2. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:11) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/Tensor.cuh(366): error : argument list for template "T::canUseIndexType" is missing [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BinaryFlatIndex.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\BinaryFlatIndex.cu"" exited with code 2. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:13) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/impl/DistanceUtils.cuh(337): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/impl/DistanceUtils.cuh(340): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\Distance.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\Distance.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:14) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\FlatIndex.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\FlatIndex.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:15) ->
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(49): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(138): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(293): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(304): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(310): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(320): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(324): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(334): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(338): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(346): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(355): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFAppend.cu(362): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\IVFAppend.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\IVFAppend.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:12) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/Tensor.cuh(366): error : argument list for template "T::canUseIndexType" is missing [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BroadcastSum.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\BroadcastSum.cu"" exited with code 2. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:16) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/Tensor.cuh(366): error : argument list for template "T::canUseIndexType" is missing [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\IVFBase.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\IVFBase.cu"" exited with code 2. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:17) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/Tensor.cuh(366): error : argument list for template "T::canUseIndexType" is missing [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\IVFFlat.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\IVFFlat.cu"" exited with code 2. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:18) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/impl/DistanceUtils.cuh(337): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/impl/DistanceUtils.cuh(340): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFFlatScan.cu(406): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFFlatScan.cu(493): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\IVFFlatScan.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\IVFFlatScan.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:19) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\IVFPQ.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\IVFPQ.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:20) ->
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/IVFUtils.cu(52): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\IVFUtils.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\IVFUtils.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:21) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\IVFUtilsSelect1.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\IVFUtilsSelect1.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:22) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\IVFUtilsSelect2.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\IVFUtilsSelect2.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:23) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(244): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(249): error : no instance of function template "faiss::gpu::utils::divUp" matches the argument list [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(257): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(262): error : no instance of function template "faiss::gpu::utils::divUp" matches the argument list [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(278): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(244): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(249): error : no instance of function template "faiss::gpu::utils::divUp" matches the argument list [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(257): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(262): error : no instance of function template "faiss::gpu::utils::divUp" matches the argument list [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(278): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(244): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(249): error : no instance of function template "faiss::gpu::utils::divUp" matches the argument list [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(257): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(262): error : no instance of function template "faiss::gpu::utils::divUp" matches the argument list [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(278): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(244): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(249): error : no instance of function template "faiss::gpu::utils::divUp" matches the argument list [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(257): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(262): error : no instance of function template "faiss::gpu::utils::divUp" matches the argument list [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/L2Norm.cu(278): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\L2Norm.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\L2Norm.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:24) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\L2Select.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\L2Select.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:25) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/PQScanMultiPassPrecomputed.cu(527): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/PQScanMultiPassPrecomputed.cu(616): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\PQScanMultiPassPrecomputed.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\PQScanMultiPassPrecomputed.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:26) ->
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/VectorResidual.cu(83): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/VectorResidual.cu(83): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/VectorResidual.cu(107): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:/bld/faiss-split_1608631005576/work/faiss/gpu/impl/VectorResidual.cu(107): error : namespace "std" has no member "min" [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\VectorResidual.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\impl\VectorResidual.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:27) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloat.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\BlockSelectFloat.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:28) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalf.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\BlockSelectHalf.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:30) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloat.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\WarpSelectFloat.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:31) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalf.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\WarpSelectHalf.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:32) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloat1.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloat1.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:33) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloat128.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloat128.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:34) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloat256.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloat256.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:35) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloat32.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloat32.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:36) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloat64.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloat64.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:37) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloatF1024.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloatF1024.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:38) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloatF2048.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloatF2048.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:39) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloatF512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloatF512.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:40) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloatT1024.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloatT1024.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:41) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloatT2048.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloatT2048.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:42) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectFloatT512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectFloatT512.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:43) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalf1.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalf1.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:44) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalf128.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalf128.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:45) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalf256.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalf256.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:46) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalf32.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalf32.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:47) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalf64.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalf64.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:48) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalfF1024.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalfF1024.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:49) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalfF512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalfF512.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:50) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalfF2048.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalfF2048.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:51) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalfT1024.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalfT1024.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:52) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalfT2048.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalfT2048.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:53) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\BlockSelectHalfT512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\blockselect\BlockSelectHalfT512.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:54) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloat1.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloat1.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:55) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloat128.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloat128.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:56) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloat256.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloat256.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:57) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloat32.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloat32.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:58) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloat64.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloat64.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:59) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloatF1024.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloatF1024.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:60) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloatF2048.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloatF2048.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:61) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloatF512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloatF512.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:62) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloatT1024.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloatT1024.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:63) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloatT2048.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloatT2048.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:64) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectFloatT512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectFloatT512.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:65) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalf1.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalf1.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:66) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalf128.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalf128.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:68) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalf32.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalf32.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:67) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalf256.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalf256.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:69) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalf64.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalf64.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:70) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalfF1024.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalfF1024.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:72) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalfF2048.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalfF2048.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:71) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalfF512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalfF512.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:73) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalfT2048.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalfT2048.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:74) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalfT1024.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalfT1024.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]


       "D:\bld\faiss-split_1608631005576\work\_build\ALL_BUILD.vcxproj" (default target) (1) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (default target) (3) ->
       "D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj" (CudaBuildCore target) (3:75) ->
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         D:\bld\faiss-split_1608631005576\work\faiss/gpu/utils/PtxUtils.cuh(25): error : asm operand type size(4) does not match type/size implied by constraint 'l' [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 10.0.targets(712,9): error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\bin\nvcc.exe" -gencode=arch=compute_35,code=\"compute_35,compute_35\" -gencode=arch=compute_50,code=\"compute_50,compute_50\" -gencode=arch=compute_52,code=\"compute_52,compute_52\" -gencode=arch=compute_60,code=\"compute_60,compute_60\" -gencode=arch=compute_61,code=\"compute_61,compute_61\" -gencode=arch=compute_70,code=\"compute_70,compute_70\" -gencode=arch=compute_75,code=\"compute_75,compute_75\" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64" -x cu  -I"D:\bld\faiss-split_1608631005576\work" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.0\include"     --keep-dir x64\Release -maxrregcount=0  --machine 64 --compile -cudart static -Xcompiler="/EHsc -Ob2"    -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -DWIN32 -D_WINDOWS -DNDEBUG -DFAISS_MAIN_LIB -DFINTEGER=int -D"CMAKE_INTDIR=\"Release\"" -Dfaiss_EXPORTS -D_WINDLL -D_MBCS -Xcompiler "/EHsc /W1 /nologo /O2 /Fdfaiss.dir\Release\vc141.pdb /FS /Zi  /MD /GR" -o faiss.dir\Release\WarpSelectHalfT512.obj "D:\bld\faiss-split_1608631005576\work\faiss\gpu\utils\warpselect\WarpSelectHalfT512.cu"" exited with code 1. [D:\bld\faiss-split_1608631005576\work\_build\faiss\faiss.vcxproj]

    25 Warning(s)
    254 Error(s)

PS. We can use that PR for debugging, but obviously, I'd much prefer to not carry patches if things can be done directly upstream.

Platform

OS: Windows

Faiss version: 1.6.5

Building in conda-forge/faiss-split-feedstock#19

Faiss compilation options:

cmake -B _build ^
    -DBUILD_SHARED_LIBS=ON ^
    -DBUILD_TESTING=OFF ^
    -DFAISS_ENABLE_PYTHON=OFF ^
    -DFAISS_ENABLE_GPU=!FAISS_ENABLE_GPU! ^
    -DCMAKE_BUILD_TYPE=Release ^
    -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^
    -DCMAKE_INSTALL_BINDIR="%LIBRARY_BIN%" ^
    -DCMAKE_INSTALL_LIBDIR="%LIBRARY_LIB%" ^
    -DCMAKE_INSTALL_INCLUDEDIR="%LIBRARY_INC%" ^
    !CUDA_CONFIG_ARGS! ^
    --verbose ^
    .

Running on:

  • CPU
  • GPU

Interface:

  • C++
  • Python

Reproduction instructions

@wickedfoo
Copy link
Contributor

I don't think the GPU side depends on anything C++14, should just be C++11.

I didn't go over the errors with a fine toothed comb, but it seems to be some integer size (int/long/size_t/etc) issues, something with canUseIndexType in Tensor.cuh, and most of the rest seem to be it not finding std::min (likely I was implicitly including the header <algorithm> through other STL headers rather than its own header, and this implicit inclusion isn't there in MSVC's STL), and a difference in the assembly parameter specification language (PtxUtils.h) which I suspect is also an int/long size issue on Windows in disguise.

Probably only the integer size issues are more of an issue to solve. I know that @beauby did a pass a while back to fix related issues in the Windows CPU side of things. I likely need to do something similar here.

@h-vetinari @beauby Is there some easy way for me to grab some Windows VM somewhere and try to reproduce these compilation issues?

I will be on vacation off and on over the next two weeks though, so likely can't make progress on it until after that though.

@h-vetinari
Copy link
Contributor Author

Hey @wickedfoo, thanks for the quick response!

I don't think the GPU side depends on anything C++14, should just be C++11.

The comment about C++ was not critical for building, just to illustrate the different states of the compilers.

Is there some easy way for me to grab some Windows VM somewhere and try to reproduce these compilation issues?

The conda-forge CI is non-interactive, so I don't think you can grab a VM there. If you have access to a windows-box some other way, it would however be possible to very closely (or even perfectly) mimic the conda-forge setup, clone the PR and run conda build recipe (or point it to a local faiss copy where you can edit).

I will be on vacation off and on over the next two weeks though, so likely can't make progress on it until after that though.

No worries, same here.

@mdouze
Copy link
Contributor

mdouze commented Dec 22, 2020

The long 32 / 64 bit issue is also there in OSX but since we don't support cuda on OSX by lack of hardware, so is shows up only now in the code. Fixing is just a matter of not using long at all and always use int64/uint64 explicitly.

facebook-github-bot pushed a commit that referenced this issue Jan 11, 2021
Summary:
Upstreaming some work towards #1586 from conda-forge/faiss-split-feedstock#19; complements #1610

Pull Request resolved: #1614

Reviewed By: mdouze

Differential Revision: D25864994

Pulled By: wickedfoo

fbshipit-source-id: 4abaaebf1c4102c24c3a9dca544744318e780581
@h-vetinari
Copy link
Contributor Author

h-vetinari commented Feb 18, 2021

Update: conda-forge/faiss-split-feedstock#19 got merged after the CI went green (based on v1.7.0 + #1666 and one commit from #1610).

Since we don't have GPUs in the CI currently I also tested the gpu build locally, and unfortunately found that there are a bunch of errors and segfaults. I immediately removed those packages again: conda-forge/admin-requests#235

I tested as follows:

C:\[...]\upstreams\faiss> conda create -n faiss-env python=3.8 faiss-gpu scipy pytest -y
C:\[...]\upstreams\faiss> conda activate faiss-env
(faiss-env) C:\[...]\upstreams\faiss>git checkout tags/v1.7.0
(faiss-env) C:\[...]\upstreams\faiss>cd ..  # make sure we're not picking up local package
(faiss-env) C:\[...]\upstreams>pytest faiss/faiss/gpu/test -v

This leads to a segfault of the following kind:

faiss/faiss/gpu/test/test_gpu_index.py::TestGPUKmeans::test_kmeans Fatal Python error: Aborted

Current thread 0x00005a88 (most recent call first):
  File "C:\Users\[...]\.conda\envs\faiss-env\lib\site-packages\faiss\swigfaiss.py", line 5876 in index_cpu_to_gpu_multiple
  File "C:\Users\[...]\.conda\envs\faiss-env\lib\site-packages\faiss\__init__.py", line 530 in index_cpu_to_gpu_multiple_py
  File "C:\Users\[...]\.conda\envs\faiss-env\lib\site-packages\faiss\__init__.py", line 547 in index_cpu_to_gpus_list
  File "C:\Users\[...]\.conda\envs\faiss-env\lib\site-packages\faiss\__init__.py", line 535 in index_cpu_to_all_gpus
  File "C:\Users\[...]\.conda\envs\faiss-env\lib\site-packages\faiss\__init__.py", line 982 in train
  File "C:\Users\[...]\Dev\conda-forge\upstreams\faiss\faiss\gpu\test\test_gpu_index.py", line 278 in test_kmeans

... and incrementally adding skips revealed that everything else segfaults as well (or so I thought...).

As it turns out, the MemoryError from test_gpu_index.py::ReferencedObject::test_stress corrupts... something... in a way that is irrecoverable. Adding a

skip
diff --git a/faiss/gpu/test/test_gpu_index.py b/faiss/gpu/test/test_gpu_index.py
index d96bd13a..8e16931f 100755
--- a/faiss/gpu/test/test_gpu_index.py
+++ b/faiss/gpu/test/test_gpu_index.py
@@ -199,6 +199,7 @@ class ReferencedObject(unittest.TestCase):

             assert ref == new

+    @unittest.skipIf(True, "MemoryError!")
     def test_stress(self):
         # a mixture of the above, from issue #631
         target = np.random.rand(50, 16).astype('float32')
to that test avoids all the following segfaults and yields the following:
Log of test run
(faiss-env) C:\[...]\upstreams>pytest faiss/faiss/gpu/test -v
============================================== test session starts ===============================================
platform win32 -- Python 3.8.6, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- C:\Users\[...]\.conda\envs\faiss-env\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\[...]\Dev\conda-forge\upstreams
collected 34 items

faiss/faiss/gpu/test/test_contrib.py::TestComputeGT::test_compute_GT PASSED                                 [  2%]
faiss/faiss/gpu/test/test_contrib.py::TestComputeGT::test_range_IP PASSED                                   [  5%]
faiss/faiss/gpu/test/test_contrib.py::TestComputeGT::test_range_L2 PASSED                                   [  8%]
faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_cpu_to_gpu_IVFFlat FAILED                   [ 11%]
faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_cpu_to_gpu_IVFPQ FAILED                     [ 14%]
faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_mm PASSED                                   [ 17%]
faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_set_gpu_param PASSED                        [ 20%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_binary_flat PASSED                           [ 23%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_flat PASSED                                  [ 26%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_ivfflat PASSED                               [ 29%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_ivfpq PASSED                                 [ 32%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_proxy PASSED                                 [ 35%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_resources PASSED                             [ 38%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_stress SKIPPED (MemoryError!)                [ 41%]
faiss/faiss/gpu/test/test_gpu_index.py::TestShardedFlat::test_sharded SKIPPED (Relevant for multiple GP...) [ 44%]
faiss/faiss/gpu/test/test_gpu_index.py::TestGPUKmeans::test_kmeans PASSED                                   [ 47%]
faiss/faiss/gpu/test/test_gpu_index.py::TestAlternativeDistances::test_L1 PASSED                            [ 50%]
faiss/faiss/gpu/test/test_gpu_index.py::TestAlternativeDistances::test_Linf PASSED                          [ 52%]
faiss/faiss/gpu/test/test_gpu_index.py::TestAlternativeDistances::test_Lp PASSED                            [ 55%]
faiss/faiss/gpu/test/test_gpu_index.py::TestGpuRef::test_gpu_ref PASSED                                     [ 58%]
faiss/faiss/gpu/test/test_gpu_index.py::TestInterleavedIVFPQLayout::test_copy_to_cpu PASSED                 [ 61%]
faiss/faiss/gpu/test/test_gpu_index.py::TestInterleavedIVFPQLayout::test_copy_to_gpu PASSED                 [ 64%]
faiss/faiss/gpu/test/test_gpu_index.py::TestInterleavedIVFPQLayout::test_interleaved FAILED                 [ 67%]
faiss/faiss/gpu/test/test_gpu_index.py::TestBruteForceDistance::test_bf_input_types PASSED                  [ 70%]
faiss/faiss/gpu/test/test_gpu_index.py::TestIVFIndices::test_indices_ivfflat PASSED                         [ 73%]
faiss/faiss/gpu/test/test_gpu_index.py::TestIVFIndices::test_indices_ivfpq PASSED                           [ 76%]
faiss/faiss/gpu/test/test_gpu_index.py::TestIVFIndices::test_indices_ivfsq PASSED                           [ 79%]
faiss/faiss/gpu/test/test_gpu_index_ivfsq.py::TestSQ::test_4bit PASSED                                      [ 82%]
faiss/faiss/gpu/test/test_gpu_index_ivfsq.py::TestSQ::test_4bit_uniform PASSED                              [ 85%]
faiss/faiss/gpu/test/test_gpu_index_ivfsq.py::TestSQ::test_6bit PASSED                                      [ 88%]
faiss/faiss/gpu/test/test_gpu_index_ivfsq.py::TestSQ::test_8bit PASSED                                      [ 91%]
faiss/faiss/gpu/test/test_gpu_index_ivfsq.py::TestSQ::test_8bit_direct PASSED                               [ 94%]
faiss/faiss/gpu/test/test_gpu_index_ivfsq.py::TestSQ::test_8bit_uniform PASSED                              [ 97%]
faiss/faiss/gpu/test/test_gpu_index_ivfsq.py::TestSQ::test_fp16 PASSED                                      [100%]
============================================ short test summary info =============================================
FAILED faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_cpu_to_gpu_IVFFlat - TypeError: in method...
FAILED faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_cpu_to_gpu_IVFPQ - TypeError: Wrong numbe...
FAILED faiss/faiss/gpu/test/test_gpu_index.py::TestInterleavedIVFPQLayout::test_interleaved - AssertionError: 29...
============================== 3 failed, 29 passed, 2 skipped in 100.23s (0:01:40) ===============================

Failure: EvalIVFPQAccuracy.test_cpu_to_gpu_IVFFlat
___________________________________ EvalIVFPQAccuracy.test_cpu_to_gpu_IVFFlat ____________________________________

self = <test_gpu_index.EvalIVFPQAccuracy testMethod=test_cpu_to_gpu_IVFFlat>

    def test_cpu_to_gpu_IVFFlat(self):
>       self.do_cpu_to_gpu('IVF128,Flat')

faiss\faiss\gpu\test\test_gpu_index.py:118:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
faiss\faiss\gpu\test\test_gpu_index.py:65: in do_cpu_to_gpu
    index.add_with_ids(xb, np.arange(nb) * 3 + 12345)
..\..\..\.conda\envs\faiss-env\lib\site-packages\faiss\__init__.py:111: in replacement_add_with_ids
    self.add_with_ids_c(n, swig_ptr(x), swig_ptr(ids))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <faiss.swigfaiss.IndexIVFFlat; proxy of <Swig Object of type 'faiss::IndexIVFFlat *' at 0x000001CBBAB10990> >
n = 10000
x = <Swig Object of type 'faiss::IndexReplicasTemplate< faiss::Index >::component_t *' at 0x000001CBBBE7A5D0>
xids = <Swig Object of type 'INT32 *' at 0x000001CBBBE7A5A0>

    def add_with_ids(self, n, x, xids):
>       return _swigfaiss.IndexIVFFlat_add_with_ids(self, n, x, xids)
E       TypeError: in method 'IndexIVFFlat_add_with_ids', argument 4 of type 'faiss::Index::idx_t const *'

..\..\..\.conda\envs\faiss-env\lib\site-packages\faiss\swigfaiss.py:3617: TypeError

coming from (the last line of)

class IndexIVFFlat(IndexIVF):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr

    def add_core(self, n, x, xids, precomputed_idx):
        return _swigfaiss.IndexIVFFlat_add_core(self, n, x, xids, precomputed_idx)

    def add_with_ids(self, n, x, xids):
        return _swigfaiss.IndexIVFFlat_add_with_ids(self, n, x, xids)

in the generated swigfaiss.py, which in turn comes from __init__.py:

def handle_Index(the_class):

    def replacement_add(self, x):
        n, d = x.shape
        assert d == self.d
        self.add_c(n, swig_ptr(x))

    def replacement_add_with_ids(self, x, ids):
        n, d = x.shape
        assert d == self.d

        assert ids.shape == (n, ), 'not same nb of vectors as ids'
        self.add_with_ids_c(n, swig_ptr(x), swig_ptr(ids))

Failure: EvalIVFPQAccuracy.test_cpu_to_gpu_IVFPQ
____________________________________ EvalIVFPQAccuracy.test_cpu_to_gpu_IVFPQ _____________________________________

self = <test_gpu_index.EvalIVFPQAccuracy testMethod=test_cpu_to_gpu_IVFPQ>

    def test_cpu_to_gpu_IVFPQ(self):
>       self.do_cpu_to_gpu('IVF128,PQ4')

faiss\faiss\gpu\test\test_gpu_index.py:115:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
faiss\faiss\gpu\test\test_gpu_index.py:65: in do_cpu_to_gpu
    index.add_with_ids(xb, np.arange(nb) * 3 + 12345)
..\..\..\.conda\envs\faiss-env\lib\site-packages\faiss\__init__.py:111: in replacement_add_with_ids
    self.add_with_ids_c(n, swig_ptr(x), swig_ptr(ids))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <faiss.swigfaiss.IndexIVFPQ; proxy of <Swig Object of type 'faiss::IndexIVFPQ *' at 0x000001CB8043E8A0> >
n = 10000
x = <Swig Object of type 'faiss::IndexReplicasTemplate< faiss::Index >::component_t *' at 0x000001CB8043E900>
xids = <Swig Object of type 'INT32 *' at 0x000001CB8043E540>

    def add_with_ids(self, n, x, xids=None):
>       return _swigfaiss.IndexIVFPQ_add_with_ids(self, n, x, xids)
E       TypeError: Wrong number or type of arguments for overloaded function 'IndexIVFPQ_add_with_ids'.
E         Possible C/C++ prototypes are:
E           faiss::IndexIVFPQ::add_with_ids(faiss::Index::idx_t,float const *,faiss::Index::idx_t const *)
E           faiss::IndexIVFPQ::add_with_ids(faiss::Index::idx_t,float const *)

..\..\..\.conda\envs\faiss-env\lib\site-packages\faiss\swigfaiss.py:3898: TypeError

coming from (the last line of)

class IndexIVFPQ(IndexIVF):
    thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
    __repr__ = _swig_repr
    by_residual = property(_swigfaiss.IndexIVFPQ_by_residual_get, _swigfaiss.IndexIVFPQ_by_residual_set)
    pq = property(_swigfaiss.IndexIVFPQ_pq_get, _swigfaiss.IndexIVFPQ_pq_set)
    do_polysemous_training = property(_swigfaiss.IndexIVFPQ_do_polysemous_training_get, _swigfaiss.IndexIVFPQ_do_polysemous_training_set)
    polysemous_training = property(_swigfaiss.IndexIVFPQ_polysemous_training_get, _swigfaiss.IndexIVFPQ_polysemous_training_set)
    scan_table_threshold = property(_swigfaiss.IndexIVFPQ_scan_table_threshold_get, _swigfaiss.IndexIVFPQ_scan_table_threshold_set)
    polysemous_ht = property(_swigfaiss.IndexIVFPQ_polysemous_ht_get, _swigfaiss.IndexIVFPQ_polysemous_ht_set)
    use_precomputed_table = property(_swigfaiss.IndexIVFPQ_use_precomputed_table_get, _swigfaiss.IndexIVFPQ_use_precomputed_table_set)
    precomputed_table = property(_swigfaiss.IndexIVFPQ_precomputed_table_get, _swigfaiss.IndexIVFPQ_precomputed_table_set)

    def add_with_ids(self, n, x, xids=None):
        return _swigfaiss.IndexIVFPQ_add_with_ids(self, n, x, xids)

in the generated swigfaiss.py which in turn comes from __init__.py:

def handle_Index(the_class):

    def replacement_add(self, x):
        n, d = x.shape
        assert d == self.d
        self.add_c(n, swig_ptr(x))

    def replacement_add_with_ids(self, x, ids):
        n, d = x.shape
        assert d == self.d

        assert ids.shape == (n, ), 'not same nb of vectors as ids'
        self.add_with_ids_c(n, swig_ptr(x), swig_ptr(ids))

Failure: TestInterleavedIVFPQLayout.test_interleaved
__________________________________ TestInterleavedIVFPQLayout.test_interleaved ___________________________________

self = <test_gpu_index.TestInterleavedIVFPQLayout testMethod=test_interleaved>

    def test_interleaved(self):
        res = faiss.StandardGpuResources()

        for bits_per_code in [4, 5, 6, 8]:
            d = 128
            nb = 5000
            nq = 50

            rs = np.random.RandomState(123)
            xb = rs.rand(nb, d).astype('float32')
            xq = rs.rand(nq, d).astype('float32')

            nlist = int(math.sqrt(nb))
            sub_q = 16
            nprobe = 4

            config = faiss.GpuIndexIVFPQConfig()
            config.interleavedLayout = True
            idx_gpu = faiss.GpuIndexIVFPQ(res, d, nlist, sub_q, bits_per_code, faiss.METRIC_L2, config)
            q = faiss.IndexFlatL2(d)
            idx_cpu = faiss.IndexIVFPQ(q, d, nlist, sub_q, bits_per_code, faiss.METRIC_L2)

            idx_gpu.train(xb)
            idx_gpu.add(xb)
            idx_cpu.train(xb)
            idx_cpu.add(xb)

            idx_gpu.nprobe = nprobe
            idx_cpu.nprobe = nprobe

            # Try without precomputed codes
            d_g, i_g = idx_gpu.search(xq, 10)
            d_c, i_c = idx_cpu.search(xq, 10)
>           self.assertGreaterEqual((i_g == i_c).sum(), i_g.size - 10)
E           AssertionError: 290 not greater than or equal to 490

faiss\faiss\gpu\test\test_gpu_index.py:388: AssertionError

The first two failures both come from the same place in __init__.py, but I'm not sure how self.add_with_ids_c and add_with_ids are related (cannot find the former in swigfaiss.py, I presume it is generated by swig).

@h-vetinari
Copy link
Contributor Author

OK, I debugged one of the problems (int32 vs int64_t). With the following

diff
diff --git a/faiss/gpu/test/test_gpu_index.py b/faiss/gpu/test/test_gpu_index.py
index d96bd13a..d5af7a46 100755
--- a/faiss/gpu/test/test_gpu_index.py
+++ b/faiss/gpu/test/test_gpu_index.py
@@ -61,8 +61,11 @@ class EvalIVFPQAccuracy(unittest.TestCase):
         index.train(xt)
         ts.append(time.time())

-        # adding some ids because there was a bug in this case
-        index.add_with_ids(xb, np.arange(nb) * 3 + 12345)
+        # adding some ids because there was a bug in this case;
+        # those need to be cast to idx_t(= int64_t), because
+        # on windows the numpy int default is int32
+        ids = (np.arange(nb) * 3 + 12345).astype('int64')
+        index.add_with_ids(xb, ids)
         ts.append(time.time())

         index.nprobe = 4

This lead to different failures

log
(faiss-env) C:\[...]\upstreams>pytest faiss/faiss/gpu/test -v
============================================== test session starts ===============================================
platform win32 -- Python 3.8.6, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- C:\Users\[...]\.conda\envs\faiss-env\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\[...]\Dev\conda-forge\upstreams
collected 34 items

faiss/faiss/gpu/test/test_contrib.py::TestComputeGT::test_compute_GT PASSED                                 [  2%]
faiss/faiss/gpu/test/test_contrib.py::TestComputeGT::test_range_IP PASSED                                   [  5%]
faiss/faiss/gpu/test/test_contrib.py::TestComputeGT::test_range_L2 PASSED                                   [  8%]
faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_cpu_to_gpu_IVFFlat FAILED                   [ 11%]
faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_cpu_to_gpu_IVFPQ FAILED                     [ 14%]
faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_mm PASSED                                   [ 17%]
faiss/faiss/gpu/test/test_gpu_index.py::EvalIVFPQAccuracy::test_set_gpu_param PASSED                        [ 20%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_binary_flat PASSED                           [ 23%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_flat PASSED                                  [ 26%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_ivfflat PASSED                               [ 29%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_ivfpq PASSED                                 [ 32%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_proxy PASSED                                 [ 35%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_resources PASSED                             [ 38%]
faiss/faiss/gpu/test/test_gpu_index.py::ReferencedObject::test_stress swig/python detected a memory leak of type 'std::map< int,std::map< std::string,std::pair< int,size_t >,std::less< std::string >,std::allocator< std::pair< std::string const,std::pair< int,size_t > > > >,std::less< int >,std::allocator< std::pair< int const,std::map< std::string,std::pair< int,size_t >,std::less< std::string >,std::allocator< std::pair< std::string const,std::pair< int,size_t > > > > > > > *', no destructor found.
swig/python detected a memory leak of type 'std::map< int,std::map< std::string,std::pair< int,size_t >,std::less< std::string >,std::allocator< std::pair< std::string const,std::pair< int,size_t > > > >,std::less< int >,std::allocator< std::pair< int const,std::map< std::string,std::pair< int,size_t >,std::less< std::string >,std::allocator< std::pair< std::string const,std::pair< int,size_t > > > > > > > *', no destructor found.
FAILED                                [ 41%]
faiss/faiss/gpu/test/test_gpu_index.py::TestShardedFlat::test_sharded SKIPPED (Relevant for multiple GP...) [ 44%]
faiss/faiss/gpu/test/test_gpu_index.py::TestGPUKmeans::test_kmeans Fatal Python error: Aborted

Current thread 0x00005658 (most recent call first):
  File "C:\Users\[...]\.conda\envs\faiss-env\lib\site-packages\faiss\swigfaiss.py", line 1438 in train
  File "C:\Users\[...]\.conda\envs\faiss-env\lib\site-packages\faiss\__init__.py", line 52 in replacement_train
  File "C:\Users\[...]\.conda\envs\faiss-env\lib\site-packages\faiss\__init__.py", line 983 in train
  File "C:\Users\[...]\Dev\conda-forge\upstreams\faiss\faiss\gpu\test\test_gpu_index.py", line 279 in test_kmeans

Another failure is that assert type(mem_info) == dict is somehow not working, because it seems it fails the resolution through swig into python-types:

>>> mem_info
<Swig Object of type 'std::map< int,std::map< std::string,std::pair< int,size_t >,std::less< std::string >,std::allocator< std::pair< std::string const,std::pair< int,size_t > > > >,std::less< int >,std::allocator< std::pair< int const,std::map< std::string,std::pair< int,size_t >,std::less< std::string >,std::allocator< std::pair< std::string const,std::pair< int,size_t > > > > > > > *' at 0x000001A4262CB4B0>

I'm probably gonna need a bit of help on this one... @beauby @wickedfoo

@h-vetinari
Copy link
Contributor Author

Ping @mdouze @beauby, not sure what kind of massage is necessary to get mem_info through swig correctly.

@beauby
Copy link
Contributor

beauby commented Feb 24, 2021

@h-vetinari Thanks for this thorough investigation! My first guess would be line 303 of swigfaiss.swig. Those unsigned long are assuming 64bit for long, which does not hold on Windows IIRC.

@mdouze
Copy link
Contributor

mdouze commented Feb 24, 2021

It would not hurt to add the same three template declarations with unsigned long long for windows.

@h-vetinari
Copy link
Contributor Author

h-vetinari commented Feb 27, 2021

Thanks for the inputs. Before adding more declarations, I wanted to try the

following
diff --git a/faiss/python/swigfaiss.swig b/faiss/python/swigfaiss.swig
index 3113a136..d455ec1a 100644
--- a/faiss/python/swigfaiss.swig
+++ b/faiss/python/swigfaiss.swig
@@ -204,9 +204,7 @@ namespace std {
 %template(DoubleVector) std::vector<double>;
 %template(ByteVector) std::vector<uint8_t>;
 %template(CharVector) std::vector<char>;
-// NOTE(hoss): Using unsigned long instead of uint64_t because OSX defines
-//   uint64_t as unsigned long long, which SWIG is not aware of.
-%template(Uint64Vector) std::vector<unsigned long>;
+%template(Uint64Vector) std::vector<uint64_t>;
 %template(LongVector) std::vector<long>;
 %template(LongLongVector) std::vector<long long>;
 %template(IntVector) std::vector<int>;
@@ -300,9 +298,9 @@ void gpu_sync_all_devices()

 %}

-%template() std::pair<int, unsigned long>;
-%template() std::map<std::string, std::pair<int, unsigned long> >;
-%template() std::map<int, std::map<std::string, std::pair<int, unsigned long> > >;
+%template() std::pair<int, uint64_t>;
+%template() std::map<std::string, std::pair<int, uint64_t> >;
+%template() std::map<int, std::map<std::string, std::pair<int, uint64_t> > >;

 // causes weird wrapper bug
 %ignore *::allocMemoryHandle;

which is more in line with what has been done for the long-on-win issue so far, cf. e.g. #1614.

Interestingly, this passes without issues on OSX (OTOH, not surprisingly, since the code is behind a __GPU_WRAPPER__ guard, which doesn't trigger on OSX), but creates other issues in the GPU test suite, namely that suddenly, faiss.StandardGpuResources cannot be found anymore. Not sure where that interaction is coming from.
There was an error in the way the package was built that caused this.

Morally speaking, I'd prefer the patch above, but would also try with #ifdef __MSVC__ or something like that if desired.

facebook-github-bot pushed a commit that referenced this issue Mar 5, 2021
Summary:
Part of the work towards #1586; I already mentioned this diff as necessary for a passing
GPU test suite on windows [here](#1586 (comment))

Pull Request resolved: #1739

Reviewed By: wickedfoo

Differential Revision: D26855633

Pulled By: mdouze

fbshipit-source-id: 96d3e627034ccbbe3a32cc4f2310a721e8ea0a69
@h-vetinari
Copy link
Contributor Author

h-vetinari commented Mar 6, 2021

Woohoo, a passing GPU test suite on windows! 🥳

partying

You can check out conda-forge/faiss-split-feedstock#32 (where there's also artefacts available for download; here and alternatively here), which is based on tags/v1.7.0 + a couple patches that I've upstreamed where possible, the most recent (and relevant) of which is #1742. The only test that I'm skipping is test_gpu_index::test_stress (see patch here), which crashes the entire test suite run on my (admittedly not very powerful) laptop-GPU.

(faiss-env) C:\Users\[...]\Dev\conda-forge\upstreams>pytest faiss/faiss/gpu/test
====================================== test session starts ======================================
platform win32 -- Python 3.8.8, pytest-6.2.2, py-1.10.0, pluggy-0.13.1
rootdir: C:\Users\[...]\Dev\conda-forge\upstreams
collected 34 items

faiss\faiss\gpu\test\test_contrib.py ...                                                   [  8%]
faiss\faiss\gpu\test\test_gpu_index.py ..........ss............                            [ 79%]
faiss\faiss\gpu\test\test_gpu_index_ivfsq.py .......                                       [100%]

=========================== 32 passed, 2 skipped in 137.96s (0:02:17) ===========================

@mdouze
Copy link
Contributor

mdouze commented Apr 2, 2021

I'll close then...

@mdouze mdouze closed this as completed Apr 2, 2021
@h-vetinari
Copy link
Contributor Author

After #1742 was merged and incorporated into the feedstock (and I solved some CI timeouts), conda-forge now has win+ cuda builds 🥳

Can be installed like conda install -c conda-forge faiss-gpu

@h-vetinari
Copy link
Contributor Author

PS. In addition to already upstreamed PRs, the conda-forge builds also depend on d2c04d0 from #1610. Would be cool to get that commit merged @beauby - would you want me to send it as a separate PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants