Skip to content

make __builtin_prefetch noop on Visual Studio - #124

Open
ben-zoo wants to merge 1 commit into
FALCONN-LIB:masterfrom
ben-zoo:master
Open

ben-zoo wants to merge 1 commit into
FALCONN-LIB:masterfrom
ben-zoo:master

Conversation

@ben-zoo

@ben-zoo ben-zoo commented Jun 1, 2024

Copy link
Copy Markdown

This pull request is for successful compilation on Windows.
In details,

  • prefetchers.h is modified;
  • as codes in prefetchers.h that call __builtin_prefetch prefetchers.h seem invalid on Visual Studio;
  • so those codes are made ineffective when the macro _MSC_VER is not defined.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant