rocblas.cpp 279 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <migraph/miopen/rocblas.hpp>

namespace migraph {
namespace miopen {

rocblas_handle_ptr create_rocblas_handle_ptr()
{
    rocblas_handle handle;
    rocblas_create_handle(&handle);
    return rocblas_handle_ptr{handle};
}

} // namespace miopen

} // namespace migraph