Skip to content

Commit 5624a3d

Browse files
authored
Fix (#73811)
1 parent 93631c9 commit 5624a3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/phi/kernels/funcs/fft_fill_conj.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ struct FFTFillConjFunctor {
138138
};
139139

140140
template <typename DeviceContext, typename C>
141-
void FFTFillConj(const DeviceContext& dev_ctx,
141+
void FFTFillConj(const DeviceContext& ctx,
142142
const DenseTensor* src,
143143
DenseTensor* dst,
144144
const std::vector<int64_t>& axes) {
@@ -202,7 +202,7 @@ void FFTFillConj(const DeviceContext& dev_ctx,
202202
const auto dst_shape = dst_shape_v.data();
203203
const auto p_is_fft_axis = _is_fft_axis.get();
204204
#endif
205-
ForRange<DeviceContext> for_range(dev_ctx, dst->numel());
205+
ForRange<DeviceContext> for_range(ctx, dst->numel());
206206
FFTFillConjFunctor<C> fill_conj_functor(src_data,
207207
dst_data,
208208
src_strides,

0 commit comments

Comments
 (0)