Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CMake host optimization flag #926

Open
maawad opened this issue Jun 24, 2022 · 1 comment
Open

CMake host optimization flag #926

maawad opened this issue Jun 24, 2022 · 1 comment
Labels
🏭 build Compilation or build issues with cmake or make?

Comments

@maawad
Copy link
Member

maawad commented Jun 24, 2022

Describe the bug
The CMake file optimizes the CPU code and makes it hard to debug CPU code

To Reproduce
cmake -DCMAKE_BUILD_TYPE=DEBUG ..
Build an example and set a break point in CPU code

@maawad maawad added the 🐛 bug Use to report bugs in the issues or fix bugs in a pull request. label Jun 24, 2022
@neoblizz
Copy link
Member

Describe the bug The CMake file optimizes the CPU code and makes it hard to debug CPU code

To Reproduce cmake -DCMAKE_BUILD_TYPE=DEBUG .. Build an example and set a break point in CPU code

I think @jdwapman was looking at a setup where there was a different set of flags for RELEASE vs. DEBUG. Relates to issue #945.

@neoblizz neoblizz added 🏭 build Compilation or build issues with cmake or make? and removed 🐛 bug Use to report bugs in the issues or fix bugs in a pull request. labels Jun 25, 2022
@neoblizz neoblizz transferred this issue from gunrock/essentials Nov 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏭 build Compilation or build issues with cmake or make?
Projects
None yet
Development

No branches or pull requests

2 participants