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
6a8cef34
Commit
6a8cef34
authored
Nov 20, 2019
by
Paul
Browse files
Formatting
parent
a40d1b1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
tools/include/operation.hpp
tools/include/operation.hpp
+2
-1
tools/te.py
tools/te.py
+2
-1
No files found.
tools/include/operation.hpp
View file @
6a8cef34
...
@@ -224,7 +224,8 @@ auto has_finalize_op(const T&) -> decltype(has_finalize_op(rank<1>{},
...
@@ -224,7 +224,8 @@ auto has_finalize_op(const T&) -> decltype(has_finalize_op(rank<1>{},
interface
(
interface
(
'
operation
'
,
'
operation
'
,
virtual
(
'
name
'
,
returns
=
'
std
::
string
'
,
const
=
True
),
virtual
(
'
name
'
,
returns
=
'
std
::
string
'
,
const
=
True
),
virtual
(
'
is_context_free
'
,
returns
=
'
bool
'
,
const
=
True
,
default
=
'
detail
::
is_context_free_op
'
),
virtual
(
'
is_context_free
'
,
returns
=
'
bool
'
,
const
=
True
,
default
=
'
detail
::
is_context_free_op
'
),
virtual
(
'
has_finalize
'
,
returns
=
'
bool
'
,
const
=
True
,
default
=
'
detail
::
has_finalize_op
'
),
virtual
(
'
has_finalize
'
,
returns
=
'
bool
'
,
const
=
True
,
default
=
'
detail
::
has_finalize_op
'
),
virtual
(
'
output_alias
'
,
virtual
(
'
output_alias
'
,
returns
=
'
std
::
ptrdiff_t
'
,
returns
=
'
std
::
ptrdiff_t
'
,
...
...
tools/te.py
View file @
6a8cef34
...
@@ -255,7 +255,8 @@ def generate_call(m, friend, indirect):
...
@@ -255,7 +255,8 @@ def generate_call(m, friend, indirect):
return
string
.
Template
(
'${name}(${args})'
).
substitute
(
m
)
return
string
.
Template
(
'${name}(${args})'
).
substitute
(
m
)
if
indirect
:
if
indirect
:
return
string
.
Template
(
return
string
.
Template
(
'private_detail_te_default_${internal_name}(char(0), private_detail_te_value ${comma} ${args})'
).
substitute
(
m
)
'private_detail_te_default_${internal_name}(char(0), private_detail_te_value ${comma} ${args})'
).
substitute
(
m
)
return
string
.
Template
(
return
string
.
Template
(
'private_detail_te_value.${name}(${args})'
).
substitute
(
m
)
'private_detail_te_value.${name}(${args})'
).
substitute
(
m
)
...
...
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