Skip to content

Commit

Permalink
Add missing #pragma once in header files (#756)
Browse files Browse the repository at this point in the history
Signed-off-by: majing <[email protected]>
  • Loading branch information
majing921201 authored Aug 14, 2024
1 parent 1c8dd3c commit f505c6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ATen/native/xpu/sycl/AveragePool2dKernels.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include <ATen/ATen.h>

namespace at::native::xpu {
Expand Down
2 changes: 2 additions & 0 deletions src/ATen/native/xpu/sycl/UpSampleLinear1dKernels.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#include <ATen/ATen.h>

namespace at::native::xpu {
Expand Down

0 comments on commit f505c6b

Please sign in to comment.