File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1818
1919#include < cuco/detail/error.hpp>
2020#include < cuco/detail/prime.hpp> // TODO move to detail/extent/
21- #include < cuco/detail/utility/math.hpp >
21+ #include < cuco/detail/utility/math.cuh >
2222#include < cuco/detail/utils.hpp>
2323#include < cuco/utility/fast_int.cuh>
2424
Original file line number Diff line number Diff line change 1616
1717#pragma once
1818
19- #include <cuco/detail/utility/math.hpp >
19+ #include <cuco/detail/utility/math.cuh >
2020
2121#include <algorithm>
2222#include <array>
Original file line number Diff line number Diff line change 1616#pragma once
1717
1818#include < cuco/detail/error.hpp>
19- #include < cuco/detail/utility/math.hpp >
19+ #include < cuco/detail/utility/math.cuh >
2020
2121namespace cuco {
2222namespace detail {
Original file line number Diff line number Diff line change 1515
1616#pragma once
1717
18- #include < type_traits>
18+ #include < cuda/std/ type_traits>
1919
2020namespace cuco {
2121namespace detail {
@@ -35,10 +35,10 @@ namespace detail {
3535 * @return Ceiling of the integer division
3636 */
3737template <typename T, typename U>
38- constexpr T int_div_ceil (T dividend, U divisor) noexcept
38+ __host__ __device__ constexpr T int_div_ceil (T dividend, U divisor) noexcept
3939{
40- static_assert (std::is_integral_v<T>);
41- static_assert (std::is_integral_v<U>);
40+ static_assert (cuda:: std::is_integral_v<T>);
41+ static_assert (cuda:: std::is_integral_v<U>);
4242 return (dividend + divisor - 1 ) / divisor;
4343}
4444
You can’t perform that action at this time.
0 commit comments