Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
composable_kernel
Commits
cf133833
Commit
cf133833
authored
Sep 17, 2023
by
Qianfeng Zhang
Browse files
Fix and add hipGraphDebugDotPrint() in the example
parent
1eb85ac6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
example/52_flash_atten_bias/run_grouped_multihead_attention_bias_forward.inc
...ten_bias/run_grouped_multihead_attention_bias_forward.inc
+3
-1
No files found.
example/52_flash_atten_bias/run_grouped_multihead_attention_bias_forward.inc
View file @
cf133833
...
@@ -338,11 +338,13 @@ int run(int argc, char* argv[])
...
@@ -338,11 +338,13 @@ int run(int argc, char* argv[])
gemm
.
SetWorkSpacePointer
(
&
argument
,
problem_desc_workspace_verify
.
GetDeviceBuffer
());
gemm
.
SetWorkSpacePointer
(
&
argument
,
problem_desc_workspace_verify
.
GetDeviceBuffer
());
invoker
.
Run
(
argument
,
StreamConfig
{
nullptr
,
false
});
invoker
.
Run
(
argument
,
StreamConfig
{
stream
,
false
});
HIP_CHECK_ERROR
(
hipStreamEndCapture
(
stream
,
&
graph
));
HIP_CHECK_ERROR
(
hipStreamEndCapture
(
stream
,
&
graph
));
HIP_CHECK_ERROR
(
hipGraphInstantiate
(
&
g_instance
,
graph
,
nullptr
,
nullptr
,
0
));
HIP_CHECK_ERROR
(
hipGraphInstantiate
(
&
g_instance
,
graph
,
nullptr
,
nullptr
,
0
));
HIP_CHECK_ERROR
(
hipGraphDebugDotPrint
(
graph
,
"grouped_fwd_debug.dot"
,
0x007f
));
HIP_CHECK_ERROR
(
hipGraphLaunch
(
g_instance
,
stream
));
HIP_CHECK_ERROR
(
hipGraphLaunch
(
g_instance
,
stream
));
HIP_CHECK_ERROR
(
hipStreamSynchronize
(
stream
));
HIP_CHECK_ERROR
(
hipStreamSynchronize
(
stream
));
...
...
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