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

fix mac
revert-14324-fix_vlog
tensor-tang 7 years ago committed by GitHub
commit 2f0a379af7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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> {
#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

Loading…
Cancel
Save