未验证 提交 2f0a379a 编写于 作者: T tensor-tang 提交者: GitHub

Merge pull request #14307 from tensor-tang/fix/mac

fix mac
...@@ -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.
先完成此消息的编辑!
想要评论请 注册