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