Skip to content

CUDA 13 compilation failure (MSVC / NVCC): invalid identifiers in MergeNetworkWarp.cuh (e.g., bool char) #5164

Description

@smsver2

When building FAISS with GPU support using CUDA 13.2 and Visual Studio 2022, compilation fails due to invalid variable names

Specifically, the build fails in:
faiss/gpu/utils/MergeNetworkWarp.cuh

Environment
FAISS version: 1.11.0 / 1.14.1 (tested both)
CUDA: 13.2
Compiler: MSVC 19.44 (Visual Studio 2022)
CMake: 3.28.5
OS: Windows 11 x64

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions