Skip to content

[SYCL][L0] Make cache of command-lists in the context per-device #5197

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 2 commits into from
Dec 23, 2021

Conversation

smaslov-intel
Copy link
Contributor

Per L0 spec "The application must only use the command list for the device, or its sub-devices, which was provided during creation":

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

Signed-off-by: Sergey V Maslov [email protected]

Signed-off-by: Sergey V Maslov <[email protected]>
@smaslov-intel
Copy link
Contributor Author

The only failure is unrelated (fails with "acc" target) to my "gpu" targeted change:

[2021-12-22T23:56:26.238Z] $ "env" "SYCL_DEVICE_FILTER=acc" "/netbatch/donb225406_00/runDir/jenkins-dir/workspace/SYCL_CI/intel/Lin/Basic_E2E/build/SYCL/DiscardEvents/Output/invalid_event.cpp.tmp.out"
[2021-12-22T23:56:26.238Z] note: command had no output on stdout or stderr
[2021-12-22T23:56:26.238Z] error: command failed with exit status: -11

@againull againull merged commit ca457d9 into intel:sycl Dec 23, 2021
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.

3 participants