Skip to content

build error on windows by vs2022  #2985

@KFeiHe

Description

@KFeiHe

Summary

1>.../faiss-1.7.4\faiss/gpu/impl/PQCodeDistances-inl.cuh(541): error : expected an expression
1> auto outDistancesCodeViewCols = outCodeDistancesView.view<2>({coarseIndices.getSize(0) * coarseIndices.getSize(1),
1> ^
1>
1>1 error detected in the compilation of ".../faiss-1.7.4/faiss/gpu/impl/IVFPQ.cu".

Platform

OS: WIN11

Faiss version: 1.7.4

Installed from: just build for c++; cmake -B build . -DFAISS_ENABLE_PYTHON=OFF -DFAISS_ENABLE_GPU=ON -DFAISS_ENABLE_C_API=ON -DBUILD_SHARED_LIBS=ON

Faiss compilation options:

Running on:

  • CPU
  • GPU

Interface:

  • C++

Reproduction instructions

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions