diff --git a/c10/metal/special_math.h b/c10/metal/special_math.h index 7ac056754e9..d78d84cb52b 100644 --- a/c10/metal/special_math.h +++ b/c10/metal/special_math.h @@ -1,4 +1,5 @@ // Implementation of specal math functions for Metal +#pragma once #include namespace c10 { diff --git a/c10/metal/utils.h b/c10/metal/utils.h index fa1b2009428..b73898173de 100644 --- a/c10/metal/utils.h +++ b/c10/metal/utils.h @@ -1,3 +1,5 @@ +// Metal helper functions +#pragma once #include namespace c10 {