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
13d2a743
"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "36eaf9e532828fa014e7ed2eebb40911ed73324b"
Commit
13d2a743
authored
Nov 28, 2018
by
Shucai Xiao
Browse files
rename migraph to migraphx for newly added operators log and exp.
parent
bb390b65
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
24 additions
and
24 deletions
+24
-24
src/targets/gpu/device/exp.cpp
src/targets/gpu/device/exp.cpp
+2
-2
src/targets/gpu/device/log.cpp
src/targets/gpu/device/log.cpp
+2
-2
src/targets/gpu/exp.cpp
src/targets/gpu/exp.cpp
+2
-2
src/targets/gpu/include/migraphx/gpu/device/exp.hpp
src/targets/gpu/include/migraphx/gpu/device/exp.hpp
+4
-4
src/targets/gpu/include/migraphx/gpu/device/log.hpp
src/targets/gpu/include/migraphx/gpu/device/log.hpp
+4
-4
src/targets/gpu/include/migraphx/gpu/exp.hpp
src/targets/gpu/include/migraphx/gpu/exp.hpp
+4
-4
src/targets/gpu/include/migraphx/gpu/log.hpp
src/targets/gpu/include/migraphx/gpu/log.hpp
+4
-4
src/targets/gpu/log.cpp
src/targets/gpu/log.cpp
+2
-2
No files found.
src/targets/gpu/device/exp.cpp
View file @
13d2a743
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#include <migraphx/gpu/device/types.hpp>
#include <migraphx/gpu/device/types.hpp>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPH_INLINE_NS
{
inline
namespace
MIGRAPH
X
_INLINE_NS
{
namespace
gpu
{
namespace
gpu
{
namespace
device
{
namespace
device
{
...
@@ -14,5 +14,5 @@ void exp(hipStream_t stream, const argument& result, const argument& arg)
...
@@ -14,5 +14,5 @@ void exp(hipStream_t stream, const argument& result, const argument& arg)
}
// namespace device
}
// namespace device
}
// namespace gpu
}
// namespace gpu
}
// namespace MIGRAPH_INLINE_NS
}
// namespace MIGRAPH
X
_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
src/targets/gpu/device/log.cpp
View file @
13d2a743
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
#include <migraphx/gpu/device/types.hpp>
#include <migraphx/gpu/device/types.hpp>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPH_INLINE_NS
{
inline
namespace
MIGRAPH
X
_INLINE_NS
{
namespace
gpu
{
namespace
gpu
{
namespace
device
{
namespace
device
{
...
@@ -14,5 +14,5 @@ void log(hipStream_t stream, const argument& result, const argument& arg)
...
@@ -14,5 +14,5 @@ void log(hipStream_t stream, const argument& result, const argument& arg)
}
// namespace device
}
// namespace device
}
// namespace gpu
}
// namespace gpu
}
// namespace MIGRAPH_INLINE_NS
}
// namespace MIGRAPH
X
_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
src/targets/gpu/exp.cpp
View file @
13d2a743
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#include <utility>
#include <utility>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPH_INLINE_NS
{
inline
namespace
MIGRAPH
X
_INLINE_NS
{
namespace
gpu
{
namespace
gpu
{
shape
hip_exp
::
compute_shape
(
const
std
::
vector
<
shape
>&
inputs
)
const
shape
hip_exp
::
compute_shape
(
const
std
::
vector
<
shape
>&
inputs
)
const
...
@@ -22,5 +22,5 @@ argument hip_exp::compute(context& ctx, const shape&, const std::vector<argument
...
@@ -22,5 +22,5 @@ argument hip_exp::compute(context& ctx, const shape&, const std::vector<argument
}
}
}
// namespace gpu
}
// namespace gpu
}
// namespace MIGRAPH_INLINE_NS
}
// namespace MIGRAPH
X
_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
src/targets/gpu/include/migraphx/gpu/device/exp.hpp
View file @
13d2a743
#ifndef MIGRAPH_GUARD_RTGLIB_DEVICE_EXP_HPP
#ifndef MIGRAPH
X
_GUARD_RTGLIB_DEVICE_EXP_HPP
#define MIGRAPH_GUARD_RTGLIB_DEVICE_EXP_HPP
#define MIGRAPH
X
_GUARD_RTGLIB_DEVICE_EXP_HPP
#include <migraphx/argument.hpp>
#include <migraphx/argument.hpp>
#include <migraphx/config.hpp>
#include <migraphx/config.hpp>
#include <hip/hip_runtime_api.h>
#include <hip/hip_runtime_api.h>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPH_INLINE_NS
{
inline
namespace
MIGRAPH
X
_INLINE_NS
{
namespace
gpu
{
namespace
gpu
{
namespace
device
{
namespace
device
{
...
@@ -14,7 +14,7 @@ void exp(hipStream_t stream, const argument& result, const argument& arg);
...
@@ -14,7 +14,7 @@ void exp(hipStream_t stream, const argument& result, const argument& arg);
}
// namespace device
}
// namespace device
}
// namespace gpu
}
// namespace gpu
}
// namespace MIGRAPH_INLINE_NS
}
// namespace MIGRAPH
X
_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
#endif
#endif
src/targets/gpu/include/migraphx/gpu/device/log.hpp
View file @
13d2a743
#ifndef MIGRAPH_GUARD_RTGLIB_DEVICE_LOG_HPP
#ifndef MIGRAPH
X
_GUARD_RTGLIB_DEVICE_LOG_HPP
#define MIGRAPH_GUARD_RTGLIB_DEVICE_LOG_HPP
#define MIGRAPH
X
_GUARD_RTGLIB_DEVICE_LOG_HPP
#include <migraphx/argument.hpp>
#include <migraphx/argument.hpp>
#include <migraphx/config.hpp>
#include <migraphx/config.hpp>
#include <hip/hip_runtime_api.h>
#include <hip/hip_runtime_api.h>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPH_INLINE_NS
{
inline
namespace
MIGRAPH
X
_INLINE_NS
{
namespace
gpu
{
namespace
gpu
{
namespace
device
{
namespace
device
{
...
@@ -14,7 +14,7 @@ void log(hipStream_t stream, const argument& result, const argument& arg);
...
@@ -14,7 +14,7 @@ void log(hipStream_t stream, const argument& result, const argument& arg);
}
// namespace device
}
// namespace device
}
// namespace gpu
}
// namespace gpu
}
// namespace MIGRAPH_INLINE_NS
}
// namespace MIGRAPH
X
_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
#endif
#endif
src/targets/gpu/include/migraphx/gpu/exp.hpp
View file @
13d2a743
#ifndef MIGRAPH_GUARD_RTGLIB_EXP_HPP
#ifndef MIGRAPH
X
_GUARD_RTGLIB_EXP_HPP
#define MIGRAPH_GUARD_RTGLIB_EXP_HPP
#define MIGRAPH
X
_GUARD_RTGLIB_EXP_HPP
#include <migraphx/gpu/lowering.hpp>
#include <migraphx/gpu/lowering.hpp>
#include <migraphx/manage_ptr.hpp>
#include <migraphx/manage_ptr.hpp>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include <utility>
#include <utility>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPH_INLINE_NS
{
inline
namespace
MIGRAPH
X
_INLINE_NS
{
namespace
gpu
{
namespace
gpu
{
struct
hip_exp
struct
hip_exp
...
@@ -31,7 +31,7 @@ struct hip_exp
...
@@ -31,7 +31,7 @@ struct hip_exp
};
};
}
// namespace gpu
}
// namespace gpu
}
// namespace MIGRAPH_INLINE_NS
}
// namespace MIGRAPH
X
_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
#endif
#endif
src/targets/gpu/include/migraphx/gpu/log.hpp
View file @
13d2a743
#ifndef MIGRAPH_GUARD_RTGLIB_LOG_HPP
#ifndef MIGRAPH
X
_GUARD_RTGLIB_LOG_HPP
#define MIGRAPH_GUARD_RTGLIB_LOG_HPP
#define MIGRAPH
X
_GUARD_RTGLIB_LOG_HPP
#include <migraphx/gpu/lowering.hpp>
#include <migraphx/gpu/lowering.hpp>
#include <migraphx/manage_ptr.hpp>
#include <migraphx/manage_ptr.hpp>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
#include <utility>
#include <utility>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPH_INLINE_NS
{
inline
namespace
MIGRAPH
X
_INLINE_NS
{
namespace
gpu
{
namespace
gpu
{
struct
hip_log
struct
hip_log
...
@@ -31,7 +31,7 @@ struct hip_log
...
@@ -31,7 +31,7 @@ struct hip_log
};
};
}
// namespace gpu
}
// namespace gpu
}
// namespace MIGRAPH_INLINE_NS
}
// namespace MIGRAPH
X
_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
#endif
#endif
src/targets/gpu/log.cpp
View file @
13d2a743
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
#include <utility>
#include <utility>
namespace
migraphx
{
namespace
migraphx
{
inline
namespace
MIGRAPH_INLINE_NS
{
inline
namespace
MIGRAPH
X
_INLINE_NS
{
namespace
gpu
{
namespace
gpu
{
shape
hip_log
::
compute_shape
(
const
std
::
vector
<
shape
>&
inputs
)
const
shape
hip_log
::
compute_shape
(
const
std
::
vector
<
shape
>&
inputs
)
const
...
@@ -22,5 +22,5 @@ argument hip_log::compute(context& ctx, const shape&, const std::vector<argument
...
@@ -22,5 +22,5 @@ argument hip_log::compute(context& ctx, const shape&, const std::vector<argument
}
}
}
// namespace gpu
}
// namespace gpu
}
// namespace MIGRAPH_INLINE_NS
}
// namespace MIGRAPH
X
_INLINE_NS
}
// namespace migraphx
}
// namespace migraphx
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