Skip to content

Conversation

JordanYates
Copy link
Contributor

Add option to mark the task argument as a device pointer. If done so,
the device is validated in task_runner_init, with the task always
skipped if the device failed to initialise.

Use the new device pointer feature for tasks that use devices.

Add option to mark the task argument as a device pointer. If done so,
the device is validated in `task_runner_init`, with the task always
skipped if the device failed to initialise.

Signed-off-by: Jordan Yates <[email protected]>
Add a test for the `TASK_FLAG_ARG_IS_DEVICE` task flag.

Signed-off-by: Jordan Yates <[email protected]>
Use the new device pointer feature for tasks that use devices.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.17%. Comparing base (41da40a) to head (cbe0bf7).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #248      +/-   ##
==========================================
+ Coverage   92.16%   92.17%   +0.01%     
==========================================
  Files         104      104              
  Lines        3943     3949       +6     
  Branches      619      622       +3     
==========================================
+ Hits         3634     3640       +6     
  Misses        156      156              
  Partials      153      153              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JordanYates JordanYates merged commit 6cda69d into main Sep 23, 2024
10 checks passed
@JordanYates JordanYates deleted the feature/task_dev_ptr branch September 23, 2024 11:38
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

Successfully merging this pull request may close these issues.

1 participant