"src/targets/vscode:/vscode.git/clone" did not exist on "ea5be66b8b2bb8fdd1d74e101a5b4d9e1ed2c71b"
Commit b89b17b8 authored by Paul's avatar Paul
Browse files

s/miopen_target/target

parent ec81e04a
......@@ -12,7 +12,7 @@ endif()
add_library(migraph_miopen
hip.cpp
miopen_target.cpp
target.cpp
lowering.cpp
miopen_write_literals.cpp
rocblas.cpp
......
......@@ -6,7 +6,7 @@
namespace migraph {
namespace miopen {
struct miopen_target
struct target
{
std::string name() const;
std::vector<pass> get_passes(context& ctx) const;
......
#include <migraph/miopen/miopen_target.hpp>
#include <migraph/miopen/target.hpp>
#include <migraph/miopen/lowering.hpp>
#include <migraph/miopen/miopen_write_literals.hpp>
#include <migraph/miopen/context.hpp>
......@@ -6,14 +6,14 @@
namespace migraph {
namespace miopen {
std::vector<pass> miopen_target::get_passes(context&) const
std::vector<pass> target::get_passes(context&) const
{
return {lowering{}, miopen_write_literals{}};
}
std::string miopen_target::name() const { return "miopen"; }
std::string target::name() const { return "miopen"; }
context miopen_target::get_context() const
context target::get_context() const
{
return miopen_context{share(make_obj<miopen_handle>(&miopenCreate)),
share(create_rocblas_handle_ptr())};
......
......@@ -3,7 +3,7 @@
#include <migraph/operators.hpp>
#include <migraph/generate.hpp>
#include <migraph/cpu/cpu_target.hpp>
#include <migraph/miopen/miopen_target.hpp>
#include <migraph/miopen/target.hpp>
#include <migraph/miopen/miopen.hpp>
#include <migraph/miopen/hip.hpp>
#include <migraph/manage_ptr.hpp>
......@@ -27,7 +27,7 @@ migraph::argument run_gpu()
{
V v;
auto p = v.create_program();
p.compile(migraph::miopen::miopen_target{});
p.compile(migraph::miopen::target{});
auto m = v.create_params();
for(auto&& e : m)
......
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