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

Simplify ScheduledC Interface #129

Open
JCampbellBradley opened this issue Feb 2, 2025 · 0 comments
Open

Simplify ScheduledC Interface #129

JCampbellBradley opened this issue Feb 2, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@JCampbellBradley
Copy link
Contributor

Currently, the ScheduledC interface is very messy, with many 'optional' objects required by the signature, and with all options being represented as individual boolean arguments.

I propose we

  1. consolidate all of the options into a 'CodegenOptions' object,
  2. only require the essential objects (i.e. the system body and scheduler) when instantiating ScheduledC. The other objects (memory mapper, tiler, etc.) should be initialized in a default manner (i.e., the memory mapper will be initialized to an identity map). These objects can then be manually specified with methods prior to codegen, if one desires a custom memory map or tiler or whatnot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant