Skip to content

Commit

Permalink
constexpr/const all the things
Browse files Browse the repository at this point in the history
  • Loading branch information
wence- committed Jan 8, 2025
1 parent e22bf55 commit 3b3b15f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/rolling/detail/rolling_utils.cuh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2024, NVIDIA CORPORATION.
* Copyright (c) 2024-2025, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -86,7 +86,7 @@ template <typename Grouping, direction Direction>
struct fixed_window_clamper {
Grouping groups;
cudf::size_type delta;
[[nodiscard]] __device__ cudf::size_type operator()(cudf::size_type i)
[[nodiscard]] __device__ constexpr cudf::size_type operator()(cudf::size_type i) const
{
auto label = groups.label(i);
auto start = groups.start(label);
Expand Down

0 comments on commit 3b3b15f

Please sign in to comment.