Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HeteroFlow
THAPI
Commits
459bb2bf
Commit
459bb2bf
authored
Apr 15, 2020
by
Brice Videau
Browse files
Tracing all functions.
parent
736c4b29
Changes
1
Hide whitespace changes
Inline
Side-by-side
ze/ze_model.rb
View file @
459bb2bf
...
...
@@ -669,6 +669,23 @@ profiling_epilogue = lambda { |event_name|
EOF
}
register_prologue
"zeCommandListAppendLaunchKernel"
,
profiling_prologue
.
call
(
"hSignalEvent"
)
[
"zeCommandListAppendLaunchKernel"
,
"zeCommandListAppendBarrier"
,
"zeCommandListAppendLaunchCooperativeKernel"
,
"zeCommandListAppendLaunchKernelIndirect"
,
"zeCommandListAppendLaunchMultipleKernelsIndirect"
,
"zeCommandListAppendMemoryRangesBarrier"
].
each
{
|
c
|
register_prologue
c
,
profiling_prologue
.
call
(
"hSignalEvent"
)
register_epilogue
c
,
profiling_epilogue
.
call
(
"hSignalEvent"
)
}
register_epilogue
"zeCommandListAppendLaunchKernel"
,
profiling_epilogue
.
call
(
"hSignalEvent"
)
[
"zeCommandListAppendMemoryCopy"
,
"zeCommandListAppendMemoryFill"
,
"zeCommandListAppendMemoryCopyRegion"
,
"zeCommandListAppendImageCopy"
,
"zeCommandListAppendImageCopyRegion"
,
"zeCommandListAppendImageCopyToMemory"
,
"zeCommandListAppendImageCopyFromMemory"
].
each
{
|
c
|
register_prologue
c
,
profiling_prologue
.
call
(
"hEvent"
)
register_epilogue
c
,
profiling_epilogue
.
call
(
"hEvent"
)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment