Skip to content

Enable autovectorization for single-thread algorithms#22

Draft
antonysigma wants to merge 1 commit into
mainfrom
enable-autovectorization-2
Draft

Enable autovectorization for single-thread algorithms#22
antonysigma wants to merge 1 commit into
mainfrom
enable-autovectorization-2

Conversation

@antonysigma
Copy link
Copy Markdown
Collaborator

@antonysigma antonysigma commented May 27, 2026

When the build system detects the native build environment, i.e. compile and run PSF simulation on the same machine, enable compiler option -fmarch=native so that the compiler can detect the CPU's vectorization capabilities.

Reference: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html

When the build system detects the native build environment, i.e. compile
and run PSF simulation on the same machine, enable compiler option
`-fmarch=native` so that the compiler can detect the CPU's vectorization
capabilities.

Reference: https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant