From 3c90f6aea6a93841fc67eb147a7d6602e6b7c28e Mon Sep 17 00:00:00 2001 From: Wenzhuo Liu Date: Wed, 16 Nov 2022 11:50:24 +0800 Subject: [PATCH] add `#pragma once` for header file in example 42 (#698) --- examples/42_fused_multi_head_attention/kernel_forward.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/42_fused_multi_head_attention/kernel_forward.h b/examples/42_fused_multi_head_attention/kernel_forward.h index 51dbbb06..fb0855d5 100644 --- a/examples/42_fused_multi_head_attention/kernel_forward.h +++ b/examples/42_fused_multi_head_attention/kernel_forward.h @@ -1,3 +1,5 @@ +#pragma once + #ifdef HAS_PYTORCH #include #include