Commit 4e44a1d8 authored by Paul's avatar Paul
Browse files

Formatting

parent 6c843ac7
...@@ -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)
{ {
......
...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment