From 7db53506398bc08b1f7224ccff5761ef39ba432e Mon Sep 17 00:00:00 2001 From: Yunsong Wang Date: Wed, 27 Sep 2023 15:23:08 -0700 Subject: [PATCH] Add more notes --- include/cuco/static_map.cuh | 2 ++ include/cuco/static_set.cuh | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/cuco/static_map.cuh b/include/cuco/static_map.cuh index 679179041..680058ef5 100644 --- a/include/cuco/static_map.cuh +++ b/include/cuco/static_map.cuh @@ -197,6 +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. * * @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 a380dface..8eb2fffa4 100644 --- a/include/cuco/static_set.cuh +++ b/include/cuco/static_set.cuh @@ -170,6 +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. * * @throw If the desired occupancy is no bigger than zero * @throw If the desired occupancy is no smaller than one