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

[aot] Runtime device is null by surprise with too many TiArgument s #7244

Closed
PENGUINLIONG opened this issue Jan 28, 2023 · 0 comments · Fixed by #7518
Closed

[aot] Runtime device is null by surprise with too many TiArgument s #7244

PENGUINLIONG opened this issue Jan 28, 2023 · 0 comments · Fixed by #7518
Assignees
Milestone

Comments

@PENGUINLIONG
Copy link
Member

PENGUINLIONG commented Jan 28, 2023

This is exposed by the following usage:

ti::Kernel kernel = ...
for (int i = 0; i < N_ITER; ++i) {
  // user forgot to `kernel.clear_args();` here.
  kernel.push_arg(i);
  kernel.launch();
}

cc @ailzhang

@github-project-automation github-project-automation bot moved this to Untriaged in Taichi Lang Jan 28, 2023
@PENGUINLIONG PENGUINLIONG added this to the v1.5.0 milestone Jan 28, 2023
@lin-hitonami lin-hitonami moved this from Untriaged to Todo in Taichi Lang Feb 3, 2023
@PENGUINLIONG PENGUINLIONG linked a pull request Mar 9, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from Todo to Done in Taichi Lang Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant