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
6f0e001e
Commit
6f0e001e
authored
May 17, 2018
by
Paul
Browse files
Formatting
parent
f9077931
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/include/rtg/argument.hpp
src/include/rtg/argument.hpp
+2
-2
No files found.
src/include/rtg/argument.hpp
View file @
6f0e001e
...
@@ -18,13 +18,13 @@ struct argument : raw_data<argument>
...
@@ -18,13 +18,13 @@ struct argument : raw_data<argument>
{
{
argument
()
{}
argument
()
{}
argument
(
shape
s
)
:
m_shape
(
s
)
argument
(
shape
s
)
:
m_shape
(
s
)
{
{
std
::
vector
<
char
>
buffer
(
s
.
bytes
());
std
::
vector
<
char
>
buffer
(
s
.
bytes
());
// TODO: Move vector
// TODO: Move vector
data
=
[
=
]()
mutable
{
return
buffer
.
data
();
};
data
=
[
=
]()
mutable
{
return
buffer
.
data
();
};
}
}
argument
(
shape
s
,
std
::
function
<
char
*
()
>
d
)
:
data
(
d
),
m_shape
(
s
)
{}
argument
(
shape
s
,
std
::
function
<
char
*
()
>
d
)
:
data
(
d
),
m_shape
(
s
)
{}
/// Provides a raw pointer to the data
/// Provides a raw pointer to the data
...
...
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