Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
gaoqiong
MIGraphX
Commits
aac188df
Commit
aac188df
authored
Sep 15, 2018
by
Paul
Browse files
Fix problem with dependent exception
parent
061f3803
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/include/migraph/operation.hpp
src/include/migraph/operation.hpp
+2
-1
tools/include/operation.hpp
tools/include/operation.hpp
+2
-1
No files found.
src/include/migraph/operation.hpp
View file @
aac188df
...
@@ -70,7 +70,8 @@ auto compute_op(rank<1>,
...
@@ -70,7 +70,8 @@ auto compute_op(rank<1>,
template
<
class
T
>
template
<
class
T
>
argument
compute_op
(
rank
<
0
>
,
const
T
&
x
,
context
&
,
const
shape
&
,
const
std
::
vector
<
argument
>&
)
argument
compute_op
(
rank
<
0
>
,
const
T
&
x
,
context
&
,
const
shape
&
,
const
std
::
vector
<
argument
>&
)
{
{
MIGRAPH_THROW
(
"Not computable: "
+
x
.
name
());
std
::
string
name
=
x
.
name
();
MIGRAPH_THROW
(
"Not computable: "
+
name
);
}
}
template
<
class
T
>
template
<
class
T
>
...
...
tools/include/operation.hpp
View file @
aac188df
...
@@ -70,7 +70,8 @@ auto compute_op(rank<1>,
...
@@ -70,7 +70,8 @@ auto compute_op(rank<1>,
template
<
class
T
>
template
<
class
T
>
argument
compute_op
(
rank
<
0
>
,
const
T
&
x
,
context
&
,
const
shape
&
,
const
std
::
vector
<
argument
>&
)
argument
compute_op
(
rank
<
0
>
,
const
T
&
x
,
context
&
,
const
shape
&
,
const
std
::
vector
<
argument
>&
)
{
{
MIGRAPH_THROW
(
"Not computable: "
+
x
.
name
());
std
::
string
name
=
x
.
name
();
MIGRAPH_THROW
(
"Not computable: "
+
name
);
}
}
template
<
class
T
>
template
<
class
T
>
...
...
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