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
MIGraphX
Commits
b92d27b0
"examples/vscode:/vscode.git/clone" did not exist on "2e84b445125aa2365eb5e79c94287d869db3366d"
Commit
b92d27b0
authored
Aug 10, 2023
by
umangyadav
Browse files
use sharding
parent
a416dbc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/serialize.cpp
src/serialize.cpp
+1
-1
No files found.
src/serialize.cpp
View file @
b92d27b0
...
@@ -75,7 +75,7 @@ void migraphx_from_value(const value& v, literal& l)
...
@@ -75,7 +75,7 @@ void migraphx_from_value(const value& v, literal& l)
else
else
{
{
assert
(
v
.
is_array
());
assert
(
v
.
is_array
());
size_t
array_size
=
1
+
((
binary_size
-
1
)
/
partition_length
);
size_t
array_size
=
1
+
((
binary_size
-
1
)
/
partition_length
);
assert
(
array_size
==
v
.
size
());
assert
(
array_size
==
v
.
size
());
std
::
vector
<
uint8_t
>
binary_array
(
binary_size
);
std
::
vector
<
uint8_t
>
binary_array
(
binary_size
);
size_t
read_size
=
0
;
size_t
read_size
=
0
;
...
...
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