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_ROCM
Commits
9d6e47f0
Commit
9d6e47f0
authored
Dec 17, 2024
by
ThomasNing
Browse files
add the mesh connection to the executable
parent
b06330d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
example/ck_tile/15_cross_gpu_reduce/cross_gpu_reduce.cpp
example/ck_tile/15_cross_gpu_reduce/cross_gpu_reduce.cpp
+7
-0
No files found.
example/ck_tile/15_cross_gpu_reduce/cross_gpu_reduce.cpp
View file @
9d6e47f0
...
...
@@ -284,6 +284,13 @@ struct AllocateAndTransferFunctor
// Transfer data to device
device_mem
.
ToDevice
(
host_tensor
.
data
());
int
worldSize
=
arg_parser
.
get_int
(
"gpu_nums"
);
setupConnection
(
device_id
,
static_cast
<
int
>
(
host_gpu
),
static_cast
<
int
>
(
worldSize
),
device_mem
.
GetDeviceBuffer
(),
host_tensor
.
get_element_space_size_in_bytes
());
int
n_warmup
=
arg_parser
.
get_int
(
"warmup"
);
int
n_repeat
=
arg_parser
.
get_int
(
"repeat"
);
...
...
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