Skip to content

Commit

Permalink
Windows: Fixing building error (#1019)
Browse files Browse the repository at this point in the history
Signed-off-by: Feng Yuan <[email protected]>
  • Loading branch information
fengyuan14 authored Oct 28, 2024
1 parent 69ebbed commit bdbda35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ATen/native/xpu/sycl/MaxUnpoolingKernels.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

namespace at::native::xpu {

Tensor& max_unpooling2d_forward_kernel(
TORCH_XPU_API Tensor& max_unpooling2d_forward_kernel(
Tensor& output,
const Tensor& self_,
const Tensor& indices_,
IntArrayRef output_size);

Tensor& max_unpooling3d_forward_kernel(
TORCH_XPU_API Tensor& max_unpooling3d_forward_kernel(
Tensor& output,
const Tensor& self_,
const Tensor& indices_,
Expand Down
1 change: 1 addition & 0 deletions src/ATen/native/xpu/sycl/TensorFactoriesKernels.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <ATen/native/TensorFactories.h>
#include <ATen/native/xpu/sycl/ScanUtils.h>
#include <ATen/native/xpu/sycl/TensorFactoriesKernels.h>
#include <ATen/xpu/EmptyTensor.h>
#include <c10/core/TensorOptions.h>
#include <comm/DeviceProperties.h>
Expand Down

0 comments on commit bdbda35

Please sign in to comment.