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

Bug in constant declaration #143

Open
rbaghdadi opened this issue Nov 29, 2018 · 0 comments
Open

Bug in constant declaration #143

rbaghdadi opened this issue Nov 29, 2018 · 0 comments

Comments

@rbaghdadi
Copy link
Collaborator

rbaghdadi commented Nov 29, 2018

Declaring a constant using the following constructor

tiramisu::constant N("N", tiramisu::expr((int32_t) size), p_int32);

would make the constant non function-wide while the following constructor

tiramisu::constant N_CONST("N", tiramisu::expr((int32_t) size));

declares the constant to be function-wide. The two behaviors are not coherent. Either they should be coherent or a different class should be created for non function-wide constants.

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