[Metal][BE] Add #pragma once to all headers (#146423)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/146423
Approved by: https://github.com/Skylion007, https://github.com/dcci
This commit is contained in:
Nikita Shulga 2025-02-04 10:54:07 -08:00 committed by PyTorch MergeBot
parent 292af3cc89
commit b1663b31e1
2 changed files with 3 additions and 0 deletions

View file

@ -1,4 +1,5 @@
// Implementation of specal math functions for Metal
#pragma once
#include <metal_stdlib>
namespace c10 {

View file

@ -1,3 +1,5 @@
// Metal helper functions
#pragma once
#include <metal_stdlib>
namespace c10 {