提交 161ba9c9 编写于 作者: T tensor-tang

fix mac

test=develop
上级 e8642c3c
...@@ -168,9 +168,11 @@ class VAddKernelImpl : public VAddKernel<T> { ...@@ -168,9 +168,11 @@ class VAddKernelImpl : public VAddKernel<T> {
#endif #endif
this->Compute = VAddRefer<T>; this->Compute = VAddRefer<T>;
} }
#ifdef PADDLE_WITH_XBYAK
private: private:
std::unique_ptr<gen::VVVJitCode> jitcode_{nullptr}; std::unique_ptr<gen::VVVJitCode> jitcode_{nullptr};
#endif
}; };
#ifdef PADDLE_WITH_XBYAK #ifdef PADDLE_WITH_XBYAK
...@@ -210,9 +212,11 @@ class VAddReluKernelImpl : public VAddReluKernel<T> { ...@@ -210,9 +212,11 @@ class VAddReluKernelImpl : public VAddReluKernel<T> {
#endif #endif
this->Compute = VAddReluRefer<T>; this->Compute = VAddReluRefer<T>;
} }
#ifdef PADDLE_WITH_XBYAK
private: private:
std::unique_ptr<gen::VVVJitCode> jitcode_{nullptr}; std::unique_ptr<gen::VVVJitCode> jitcode_{nullptr};
#endif
}; };
#ifdef PADDLE_WITH_XBYAK #ifdef PADDLE_WITH_XBYAK
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册