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

how does ZE_COMMAND_LIST_FLAG_RELAXED_ORDERING affect timestamps? #249

Open
jandres742 opened this issue Dec 6, 2023 · 0 comments
Open
Labels
API: Core documentation Improvements or additions to documentation needs discussion

Comments

@jandres742
Copy link

When an application uses ZE_COMMAND_LIST_FLAG_RELAXED_ORDERING:

https://spec.oneapi.io/level-zero/latest/core/api.html?highlight=ze_command_list_flag_relaxed_ordering#_CPPv4N22ze_command_list_flag_t37ZE_COMMAND_LIST_FLAG_RELAXED_ORDERINGE

driver may reorder commands (e.g., kernels, copies) between barriers and synchronization primitives.

what does that mean for timestamps? if the commands are reorganized by the driver, must the driver guarantee the timestamps are still returned to the user in the correct timeline ordering, or is up to the user to traverse all timestamps in the list and reordering them? I would expect to be the former, so that way the reordering details are completely hidden from the user, as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API: Core documentation Improvements or additions to documentation needs discussion
Projects
None yet
Development

No branches or pull requests

2 participants