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

how to let osqp code generated for non-embedded platforms? #58

Open
ziyangfu opened this issue Sep 27, 2024 · 0 comments
Open

how to let osqp code generated for non-embedded platforms? #58

ziyangfu opened this issue Sep 27, 2024 · 0 comments

Comments

@ziyangfu
Copy link

we want to running in high performance platform, and do not need to optimize the algorithm. modified like this is OK?

## file: codegen/files_to_generate/CMakeLists.txt

# Is the code generated for embedded platforms?
#   1 :   Yes. Matrix update not allowed.
#   2 :   Yes. Matrix update allowed.

if (NOT DEFINED EMBEDDED)  # enable embedded anyway
    set (EMBEDDED EMBEDDED_FLAG)   # former
    # set (EMBEDDED EMBEDDED_FLAG)   # now
endif()
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

No branches or pull requests

1 participant