Unverified Commit 68161431 authored by Artur Wojcik's avatar Artur Wojcik Committed by GitHub
Browse files

fix missing exports on Windows (#2327)

parent 1587c533
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#ifndef MIGRAPHX_GUARD_CPU_FUSE_OPS_HPP #ifndef MIGRAPHX_GUARD_CPU_FUSE_OPS_HPP
#define MIGRAPHX_GUARD_CPU_FUSE_OPS_HPP #define MIGRAPHX_GUARD_CPU_FUSE_OPS_HPP
#include <migraphx/config.hpp> #include <migraphx/cpu/context.hpp>
#include <string> #include <string>
namespace migraphx { namespace migraphx {
...@@ -34,9 +34,7 @@ struct module; ...@@ -34,9 +34,7 @@ struct module;
namespace cpu { namespace cpu {
struct context; struct MIGRAPHX_CPU_EXPORT fuse_ops
struct fuse_ops
{ {
context* ctx = nullptr; context* ctx = nullptr;
std::string name() const { return "cpu::fuse_ops"; } std::string name() const { return "cpu::fuse_ops"; }
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#ifndef MIGRAPHX_GUARD_RTGLIB_FUSE_OPS_HPP #ifndef MIGRAPHX_GUARD_RTGLIB_FUSE_OPS_HPP
#define MIGRAPHX_GUARD_RTGLIB_FUSE_OPS_HPP #define MIGRAPHX_GUARD_RTGLIB_FUSE_OPS_HPP
#include <migraphx/config.hpp>
#include <migraphx/gpu/context.hpp> #include <migraphx/gpu/context.hpp>
namespace migraphx { namespace migraphx {
...@@ -34,7 +33,7 @@ struct module; ...@@ -34,7 +33,7 @@ struct module;
namespace gpu { namespace gpu {
struct fuse_ops struct MIGRAPHX_GPU_EXPORT fuse_ops
{ {
context* ctx = nullptr; context* ctx = nullptr;
bool fast_math = true; bool fast_math = true;
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
#ifndef MIGRAPHX_GUARD_GPU_PREFUSE_OPS_HPP #ifndef MIGRAPHX_GUARD_GPU_PREFUSE_OPS_HPP
#define MIGRAPHX_GUARD_GPU_PREFUSE_OPS_HPP #define MIGRAPHX_GUARD_GPU_PREFUSE_OPS_HPP
#include <migraphx/config.hpp> #include <migraphx/gpu/config.hpp>
#include <string> #include <string>
namespace migraphx { namespace migraphx {
...@@ -34,7 +34,7 @@ struct module_pass_manager; ...@@ -34,7 +34,7 @@ struct module_pass_manager;
namespace gpu { namespace gpu {
struct prefuse_ops struct MIGRAPHX_GPU_EXPORT prefuse_ops
{ {
std::string name() const { return "gpu::prefuse_ops"; } std::string name() const { return "gpu::prefuse_ops"; }
void apply(module_pass_manager& mpm) const; void apply(module_pass_manager& mpm) const;
......
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