Skip to content

Commit 2f0a379

Browse files
authored
Merge pull request #14307 from tensor-tang/fix/mac
fix mac
2 parents b2af213 + 161ba9c commit 2f0a379

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

paddle/fluid/operators/math/jit_kernel_blas.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,11 @@ class VAddKernelImpl : public VAddKernel<T> {
168168
#endif
169169
this->Compute = VAddRefer<T>;
170170
}
171+
#ifdef PADDLE_WITH_XBYAK
171172

172173
private:
173174
std::unique_ptr<gen::VVVJitCode> jitcode_{nullptr};
175+
#endif
174176
};
175177

176178
#ifdef PADDLE_WITH_XBYAK
@@ -210,9 +212,11 @@ class VAddReluKernelImpl : public VAddReluKernel<T> {
210212
#endif
211213
this->Compute = VAddReluRefer<T>;
212214
}
215+
#ifdef PADDLE_WITH_XBYAK
213216

214217
private:
215218
std::unique_ptr<gen::VVVJitCode> jitcode_{nullptr};
219+
#endif
216220
};
217221

218222
#ifdef PADDLE_WITH_XBYAK

0 commit comments

Comments
 (0)