Skip to content

Commit

Permalink
Add missing #pragma once in some headers (#1668)
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber authored Apr 26, 2024
1 parent e3d181f commit 7bfd940
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cub/test/catch2_radix_sort_helper.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
*
******************************************************************************/

#pragma once

#include <cub/device/device_radix_sort.cuh>
#include <cub/device/device_segmented_radix_sort.cuh>
#include <cub/util_macro.cuh>
Expand Down
2 changes: 2 additions & 0 deletions cub/test/fill_striped.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
*
******************************************************************************/

#pragma once

#include <type_traits>

template <typename T, typename = int>
Expand Down
2 changes: 2 additions & 0 deletions cub/test/mersenne.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@
email: m-mat @ math.sci.hiroshima-u.ac.jp (remove space)
*/

#pragma once

#include <stdio.h>

namespace mersenne
Expand Down

0 comments on commit 7bfd940

Please sign in to comment.