From 78d8362e7a7fded67e730a74c9423fd05db003dd Mon Sep 17 00:00:00 2001 From: Chenggang Zhao Date: Thu, 15 May 2025 18:10:05 +0800 Subject: [PATCH] Add a missing `#pragma once` --- deep_gemm/include/deep_gemm/fp8_gemm.cuh | 1 + deep_gemm/include/deep_gemm/fp8_wgrad_gemm.cuh | 1 + deep_gemm/include/deep_gemm/scheduler.cuh | 2 ++ 3 files changed, 4 insertions(+) diff --git a/deep_gemm/include/deep_gemm/fp8_gemm.cuh b/deep_gemm/include/deep_gemm/fp8_gemm.cuh index 4357920..0d51648 100644 --- a/deep_gemm/include/deep_gemm/fp8_gemm.cuh +++ b/deep_gemm/include/deep_gemm/fp8_gemm.cuh @@ -1,4 +1,5 @@ #pragma once + #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunknown-attributes" diff --git a/deep_gemm/include/deep_gemm/fp8_wgrad_gemm.cuh b/deep_gemm/include/deep_gemm/fp8_wgrad_gemm.cuh index eb2282d..7b7e3d3 100644 --- a/deep_gemm/include/deep_gemm/fp8_wgrad_gemm.cuh +++ b/deep_gemm/include/deep_gemm/fp8_wgrad_gemm.cuh @@ -1,4 +1,5 @@ #pragma once + #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunknown-attributes" diff --git a/deep_gemm/include/deep_gemm/scheduler.cuh b/deep_gemm/include/deep_gemm/scheduler.cuh index c213d57..38c5c49 100644 --- a/deep_gemm/include/deep_gemm/scheduler.cuh +++ b/deep_gemm/include/deep_gemm/scheduler.cuh @@ -1,3 +1,5 @@ +#pragma once + #include "utils.cuh" namespace deep_gemm {