From 1f2aaa12aa7e8e08a5fa41568e9bfd58e6c93a88 Mon Sep 17 00:00:00 2001 From: Yunsong Wang Date: Fri, 15 Dec 2023 14:38:30 -0800 Subject: [PATCH] Migrate host bulk examples --- examples/static_map/host_bulk_example.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/static_map/host_bulk_example.cu b/examples/static_map/host_bulk_example.cu index 746857511..f08c08235 100644 --- a/examples/static_map/host_bulk_example.cu +++ b/examples/static_map/host_bulk_example.cu @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2022, NVIDIA CORPORATION. + * Copyright (c) 2020-2023, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -54,7 +54,7 @@ int main(void) std::size_t const capacity = std::ceil(num_keys / load_factor); // Constructs a map with "capacity" slots using -1 and -1 as the empty key/value sentinels. - cuco::static_map map{ + auto map = cuco::experimental::static_map{ capacity, cuco::empty_key{empty_key_sentinel}, cuco::empty_value{empty_value_sentinel}}; // Create a sequence of keys and values {{0,0}, {1,1}, ... {i,i}}