Skip to content

Add thread_setup callback to tasking::Executor #5581

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

Merged
merged 1 commit into from
Jul 29, 2024

Conversation

mzient
Copy link
Contributor

@mzient mzient commented Jul 25, 2024

Category:

New feature (non-breaking change which adds functionality)

Description:

This change adds a callback that's called in each tasking::Executor thread prior to the main loop. It can be used to setup thread-local environment, like working directory or CUDA context.

Additional information:

Affected modules and functionalities:

Key points relevant for the review:

Tests:

  • Existing tests apply
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [16924239]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [16924239]: BUILD PASSED

@jantonguirao jantonguirao self-assigned this Jul 26, 2024
@mzient mzient merged commit 552ffe2 into NVIDIA:main Jul 29, 2024
6 checks passed
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.

4 participants