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
ebec17f5
Commit
ebec17f5
authored
Feb 05, 2019
by
Paul
Browse files
Forward declare context
parent
c180f601
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
src/include/migraphx/auto_any_cast.hpp
src/include/migraphx/auto_any_cast.hpp
+4
-0
src/include/migraphx/operation.hpp
src/include/migraphx/operation.hpp
+2
-2
test/operation.cpp
test/operation.cpp
+1
-0
tools/include/operation.hpp
tools/include/operation.hpp
+2
-2
No files found.
src/include/migraphx/auto_any_cast.hpp
View file @
ebec17f5
...
@@ -5,6 +5,10 @@
...
@@ -5,6 +5,10 @@
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPHX_INLINE_NS
{
inline
namespace
MIGRAPHX_INLINE_NS
{
// Forward declare any_cast
template
<
class
T
>
const
T
&
any_cast
(
const
T
&
);
namespace
detail
{
namespace
detail
{
template
<
class
U
>
template
<
class
U
>
...
...
src/include/migraphx/operation.hpp
View file @
ebec17f5
...
@@ -7,17 +7,17 @@
...
@@ -7,17 +7,17 @@
#include <memory>
#include <memory>
#include <type_traits>
#include <type_traits>
#include <utility>
#include <utility>
#include <migraphx/shape.hpp>
#include <migraphx/reflect.hpp>
#include <migraphx/reflect.hpp>
#include <migraphx/streamutils.hpp>
#include <migraphx/streamutils.hpp>
#include <migraphx/argument.hpp>
#include <migraphx/argument.hpp>
#include <migraphx/context.hpp>
#include <migraphx/auto_any_cast.hpp>
#include <migraphx/auto_any_cast.hpp>
#include <migraphx/config.hpp>
#include <migraphx/config.hpp>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPHX_INLINE_NS
{
inline
namespace
MIGRAPHX_INLINE_NS
{
struct
context
;
#ifdef DOXYGEN
#ifdef DOXYGEN
/// The operation interface represents an action an instruction will perform. All
/// The operation interface represents an action an instruction will perform. All
...
...
test/operation.cpp
View file @
ebec17f5
#include <migraphx/operation.hpp>
#include <migraphx/operation.hpp>
#include <migraphx/context.hpp>
#include <sstream>
#include <sstream>
#include <string>
#include <string>
#include "test.hpp"
#include "test.hpp"
...
...
tools/include/operation.hpp
View file @
ebec17f5
...
@@ -7,17 +7,17 @@
...
@@ -7,17 +7,17 @@
#include <memory>
#include <memory>
#include <type_traits>
#include <type_traits>
#include <utility>
#include <utility>
#include <migraphx/shape.hpp>
#include <migraphx/reflect.hpp>
#include <migraphx/reflect.hpp>
#include <migraphx/streamutils.hpp>
#include <migraphx/streamutils.hpp>
#include <migraphx/argument.hpp>
#include <migraphx/argument.hpp>
#include <migraphx/context.hpp>
#include <migraphx/auto_any_cast.hpp>
#include <migraphx/auto_any_cast.hpp>
#include <migraphx/config.hpp>
#include <migraphx/config.hpp>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPHX_INLINE_NS
{
inline
namespace
MIGRAPHX_INLINE_NS
{
struct
context
;
#ifdef DOXYGEN
#ifdef DOXYGEN
/// The operation interface represents an action an instruction will perform. All
/// The operation interface represents an action an instruction will perform. All
...
...
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