mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
[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:
parent
292af3cc89
commit
b1663b31e1
2 changed files with 3 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
// Implementation of specal math functions for Metal
|
||||
#pragma once
|
||||
#include <metal_stdlib>
|
||||
|
||||
namespace c10 {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// Metal helper functions
|
||||
#pragma once
|
||||
#include <metal_stdlib>
|
||||
|
||||
namespace c10 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue