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

TaskPolicy - generate error when attempt to use uninitialized #396

Closed
hcedwar opened this issue Aug 16, 2016 · 2 comments
Closed

TaskPolicy - generate error when attempt to use uninitialized #396

hcedwar opened this issue Aug 16, 2016 · 2 comments
Assignees
Labels
Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos) Enhancement Improve existing capability; will potentially require voting
Milestone

Comments

@hcedwar
Copy link
Contributor

hcedwar commented Aug 16, 2016

A default constructed TaskPolicy is "null" and not usable. Generate an error for attempts to use a null TaskPolicy.

@hcedwar hcedwar added the Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos) label Aug 16, 2016
@hcedwar hcedwar added this to the Summer 2016 milestone Aug 16, 2016
@hcedwar hcedwar self-assigned this Aug 16, 2016
@hcedwar hcedwar modified the milestones: Fall 2016, Summer 2016 Aug 31, 2016
@crtrott crtrott added the Enhancement Improve existing capability; will potentially require voting label Sep 19, 2016
@crtrott
Copy link
Member

crtrott commented Sep 19, 2016

Mark as enhancement (since it is about catching an user error, rather than correct code not working).

@hcedwar
Copy link
Contributor Author

hcedwar commented Sep 30, 2016

The host_spawn function will abort if the TaskScheduler is not initialized.

@crtrott crtrott closed this as completed Oct 30, 2016
@hcedwar hcedwar added this to Backlog in On-node Task DAG Apr 19, 2017
@hcedwar hcedwar moved this from Feature Backlog to Bug Backlog in On-node Task DAG Apr 19, 2017
@hcedwar hcedwar moved this from Bug Backlog to Done in On-node Task DAG Apr 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Broken / incorrect code; it could be Kokkos' responsibility, or others’ (e.g., Trilinos) Enhancement Improve existing capability; will potentially require voting
Projects
No open projects
Development

No branches or pull requests

2 participants