Skip to content
This repository has been archived by the owner on Feb 24, 2024. It is now read-only.

Pragmas are misplaced #9

Open
pde-bakk opened this issue Dec 16, 2022 · 0 comments · May be fixed by #10
Open

Pragmas are misplaced #9

pde-bakk opened this issue Dec 16, 2022 · 0 comments · May be fixed by #10

Comments

@pde-bakk
Copy link

I have the following pragmas at the top of my main.cpp file and when I merge all my files into one output file, they are placed right above my main, but for optimization pragmas to be work they need to be at the top of the file.

These are the pragmas I'm talking about:

#pragma GCC optimize("Ofast")
#pragma GCC optimize("inline")
#pragma GCC option("arch=native","tune=native","no-zero-upper")
#pragma GCC target("avx") 
@Tishj Tishj linked a pull request Dec 17, 2022 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant