From e134f7d660de9fab1a0a723086afa8f485a16d22 Mon Sep 17 00:00:00 2001 From: Yunsong Wang Date: Wed, 27 Sep 2023 17:27:47 -0700 Subject: [PATCH] Minor doc improvement --- include/cuco/static_map.cuh | 4 ++-- include/cuco/static_set.cuh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/cuco/static_map.cuh b/include/cuco/static_map.cuh index 680058ef5..ff6b22692 100644 --- a/include/cuco/static_map.cuh +++ b/include/cuco/static_map.cuh @@ -197,8 +197,8 @@ class static_map { * this sentinel value. * @note If a non-default CUDA stream is provided, the caller is responsible for synchronizing the * stream before the object is first used. - * @note Static extent should not use this overload since it will convert all extents into a - * runtime constant. + * @note This overload will convert compile-time extents to runtime constants which might lead to + * performance regressions. * * @throw If the desired occupancy is no bigger than zero * @throw If the desired occupancy is no smaller than one diff --git a/include/cuco/static_set.cuh b/include/cuco/static_set.cuh index 8eb2fffa4..30e03f87e 100644 --- a/include/cuco/static_set.cuh +++ b/include/cuco/static_set.cuh @@ -170,8 +170,8 @@ class static_set { * this sentinel value. * @note If a non-default CUDA stream is provided, the caller is responsible for synchronizing the * stream before the object is first used. - * @note Static extent should not use this overload since it will convert all extents into a - * runtime constant. + * @note This overload will convert compile-time extents to runtime constants which might lead to + * performance regressions. * * @throw If the desired occupancy is no bigger than zero * @throw If the desired occupancy is no smaller than one