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
4e44a1d8
Commit
4e44a1d8
authored
Jun 21, 2018
by
Paul
Browse files
Formatting
parent
6c843ac7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/targets/miopen/include/rtg/miopen/hip.hpp
src/targets/miopen/include/rtg/miopen/hip.hpp
+3
-2
src/targets/miopen/include/rtg/miopen/miopen.hpp
src/targets/miopen/include/rtg/miopen/miopen.hpp
+2
-1
No files found.
src/targets/miopen/include/rtg/miopen/hip.hpp
View file @
4e44a1d8
...
@@ -5,9 +5,10 @@
...
@@ -5,9 +5,10 @@
#include <miopen/miopen.h>
#include <miopen/miopen.h>
namespace
rtg
{
namespace
miopen
{
namespace
rtg
{
namespace
miopen
{
using
hip_ptr
=
RTG_MANAGE_PTR
(
void
,
hipFree
);
using
hip_ptr
=
RTG_MANAGE_PTR
(
void
,
hipFree
);
inline
hip_ptr
gpu_allocate
(
std
::
size_t
sz
)
inline
hip_ptr
gpu_allocate
(
std
::
size_t
sz
)
{
{
...
...
src/targets/miopen/include/rtg/miopen/miopen.hpp
View file @
4e44a1d8
...
@@ -5,7 +5,8 @@
...
@@ -5,7 +5,8 @@
#include <miopen/miopen.h>
#include <miopen/miopen.h>
namespace
rtg
{
namespace
miopen
{
namespace
rtg
{
namespace
miopen
{
using
miopen_handle
=
RTG_MANAGE_PTR
(
miopenHandle_t
,
miopenDestroy
);
using
miopen_handle
=
RTG_MANAGE_PTR
(
miopenHandle_t
,
miopenDestroy
);
using
tensor_descriptor
=
RTG_MANAGE_PTR
(
miopenTensorDescriptor_t
,
miopenDestroyTensorDescriptor
);
using
tensor_descriptor
=
RTG_MANAGE_PTR
(
miopenTensorDescriptor_t
,
miopenDestroyTensorDescriptor
);
...
...
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