From 9a0494199f1425bc86bc2942231aeb90eec7f18b Mon Sep 17 00:00:00 2001 From: Bernhard Manfred Gruber Date: Sat, 11 Jan 2025 00:52:27 +0100 Subject: [PATCH] Drop cub::ValueCache (#3346) --- cub/cub/util_device.cuh | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/cub/cub/util_device.cuh b/cub/cub/util_device.cuh index 0ff0f76df9f..bd96393ae5f 100644 --- a/cub/cub/util_device.cuh +++ b/cub/cub/util_device.cuh @@ -130,24 +130,6 @@ CUB_RUNTIME_FUNCTION inline int DeviceCountUncached() return count; } -/** - * \brief Cache for an arbitrary value produced by a nullary function. - * deprecated [Since 2.6.0] - */ -template -struct CCCL_DEPRECATED ValueCache -{ - T const value; - - /** - * \brief Call the nullary function to produce the value and construct the - * cache. - */ - _CCCL_HOST inline ValueCache() - : value(Function()) - {} -}; - // Host code. This is a separate function to avoid defining a local static in a host/device function. _CCCL_HOST inline int DeviceCountCachedValue() {