Commit 17327899 authored by Brice Videau's avatar Brice Videau
Browse files

Added immediate queues to profiling

parent 1a12d989
Pipeline #11898 canceled with stage
...@@ -699,6 +699,14 @@ register_epilogue "zeCommandListCreate", <<EOF ...@@ -699,6 +699,14 @@ register_epilogue "zeCommandListCreate", <<EOF
} }
EOF EOF
register_epilogue "zeCommandListCreateImmediate", <<EOF
if (_do_profile) {
if (_retval == ZE_RESULT_SUCCESS && phCommandList && *phCommandList) {
_register_ze_command_list(*phCommandList, hContext, hDevice);
}
}
EOF
register_epilogue "zeCommandListDestroy", <<EOF register_epilogue "zeCommandListDestroy", <<EOF
if (_do_profile) { if (_do_profile) {
if (_retval == ZE_RESULT_SUCCESS && hCommandList) { if (_retval == ZE_RESULT_SUCCESS && hCommandList) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment