Skip to content

Commit

Permalink
add #pragma once for header file in example 42 (NVIDIA#698)
Browse files Browse the repository at this point in the history
  • Loading branch information
Enter-tainer authored Nov 16, 2022
1 parent 06eb90c commit 3c90f6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/42_fused_multi_head_attention/kernel_forward.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#pragma once

#ifdef HAS_PYTORCH
#include <ATen/ATen.h>
#include <ATen/cuda/CUDAContext.h>
Expand Down

0 comments on commit 3c90f6a

Please sign in to comment.