From 83c17dd27fe5295215802c3485aec7af174d5b6b Mon Sep 17 00:00:00 2001 From: Yunsong Wang Date: Wed, 16 Oct 2024 18:42:44 -0700 Subject: [PATCH 1/4] test precommit CI --- examples/static_multimap/host_bulk_example.cu | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/static_multimap/host_bulk_example.cu b/examples/static_multimap/host_bulk_example.cu index 3a37bc191..cf7f57b6c 100644 --- a/examples/static_multimap/host_bulk_example.cu +++ b/examples/static_multimap/host_bulk_example.cu @@ -35,6 +35,7 @@ int main(void) // Constructs a multimap with 100,000 slots using -1 and -1 as the empty key/value // sentinels. Note the capacity is chosen knowing we will insert 50,000 keys, + // // for an load factor of 50%. cuco::static_multimap map{ N * 2, cuco::empty_key{empty_key_sentinel}, cuco::empty_value{empty_value_sentinel}}; From e925c5ea92deb5bdd6531efdd2f4b9d1fe59e91b Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 01:43:10 +0000 Subject: [PATCH 2/4] [pre-commit.ci] auto code formatting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c0f674bae..b6643a8b7 100644 --- a/README.md +++ b/README.md @@ -225,7 +225,7 @@ We plan to add many GPU-accelerated, concurrent data structures to `cuCollection `cuco::static_multimap` is a fixed-size hash table that supports storing equivalent keys. It uses double hashing by default and supports switching to linear probing. See the Doxygen documentation in `static_multimap.cuh` for more detailed information. #### Examples: -- [Host-bulk APIs](https://github.com/NVIDIA/cuCollections/blob/dev/examples/static_multimap/host_bulk_example.cu) (see [live example in godbolt](https://godbolt.org/clientstate/eJylVgtv2zYQ_isHDUXtVJYfaFDEjQN4bYoZK5whTlsUcaHQFG0TkUmNpOx6hv_77ijJlpsM67AWiCHe-7vvjtwFVlgrtbJB_34XyCTod8MgZWqRs4UI-gHPExaEgdW54fTdPpsqOIN3OtsauVg6aPAm9Dq9bgv_vA5h_Hn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k8tWct0oWUaEkV7GycZlcmK1SC-R89TurdMnomPJsJdyC4iy68vnh5cXGx_2fCVKVceevY6XguMZDnx9GmYkajrnRM8OTU5xlCp84wakwxzJrz3BjyZSlxnzJea_eYdbE3mrRZ6NLFmwoFHqBqh5fu7vDsIdZ4mZkHsPl8Lr-jaoK3phMUhbkfQlEkhg8C1fLspfXQ9c58k_0mA3SX5S4mmuAO8zcGZV2E-em6m_9zOpMYr1Is1zZq-dSQ_ICRChI9bfbe702LgRAFZq3mktF9f9icdeI9HCI9VAwljGjSH-pl3ctvD5BoYdVLhzc9PiPCmi1KIysQwAQGg2evjIcDzGVBgnQ9vjhXRoq1-I8Qh0eQKrWCrD7KwWnZyFrU1lPDI7DEKacdS0Hlq5nwu9_nVS08sEudp_hEQ-6N4RX4QS-qs35o8b3ZOCHR4MdkBnAwPBClXC50XeKU4kuanqb4WDXHB3eg1px3e-d5F8U6c8VrPGjhvTvgr15130CLGb4c2FX8pgOtFl7KDv84rFkkrZStZv6JnspZzSfnPMXDdfGexgO8odVjsA8rOVL1RI5MDvbf_P-_AYKkJA4=)) +- [Host-bulk APIs](https://github.com/NVIDIA/cuCollections/blob/dev/examples/static_multimap/host_bulk_example.cu) (see [live example in godbolt](https://godbolt.org/clientstate/eJylVgtv2zYQ_isHDUXtVJYfaFDEjQN4bYoZK5whTlsUcaHQFG0TkUmNpOx6hv_77ijJlpsM67AWiCHe-7vvjtwFVlgrtbJB_34XyCTod8MgZWqRs4UI-gHPExaEgdW54fTdPpsqOIN3OtsauVg6aPAm9Dq9bgv_vA5h_Hn0fjSEdze3f9zcDu9GN-OIDLzRR8mFsiKBXCXCgFsKGGaM408pCeGzMJQN9KIONEhhGpSyadB8671sdQ4rtgWlHeRWoBtpYS5TAeI7F5kDqYDrVZZKpriAjXRLH6r049OBr6UTPXMM9RlaZPg1r2sCc4fU6d_Suazfbm82m4j5tCNtFu20ULbtj6N31-PJdQtTP5h9UinCC0b8mUuDhc-2wDLMjLMZ5puyDWgDb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M6kxgvVCzXNmr51JD8gJEKEj1t9t5vT4uBEAVmreaS0a1_2J914j0cIj1UDCWMaNIf6mXdy28PkGhh1UuH9z0-JsKaLUojKxDABAaDZy-OhwPMZUGCdD2-OFdGirX4jxCHR5AqtYKsPsrBadnIWtTWU8MjsMQppx1LQeWrmfC73-dVLTywS52n-FBD7o3hFfhBL6qzfmjx1dk4IdHgx2QGcDA8EKVcLnRp4pTie5oeqPhkNcdnd6DWnHd753kXxTpzxZs8aOHtO-CvXnXfQIsZvhzYVfymA60WXs0O_zisWSStlK1m_qGeylnNJ-c8xcN18arGA7yn1WOwDys5UvVEjkwO9t_8_78BsJUldg==)) ### `dynamic_map` From f2e6ef2086fe57b18110750b25c82407aa78c507 Mon Sep 17 00:00:00 2001 From: Yunsong Wang Date: Wed, 16 Oct 2024 18:44:34 -0700 Subject: [PATCH 3/4] Revert test changes --- examples/static_multimap/host_bulk_example.cu | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/static_multimap/host_bulk_example.cu b/examples/static_multimap/host_bulk_example.cu index cf7f57b6c..3a37bc191 100644 --- a/examples/static_multimap/host_bulk_example.cu +++ b/examples/static_multimap/host_bulk_example.cu @@ -35,7 +35,6 @@ int main(void) // Constructs a multimap with 100,000 slots using -1 and -1 as the empty key/value // sentinels. Note the capacity is chosen knowing we will insert 50,000 keys, - // // for an load factor of 50%. cuco::static_multimap map{ N * 2, cuco::empty_key{empty_key_sentinel}, cuco::empty_value{empty_value_sentinel}}; From 57b153b91e65e77cd0da545795b70adfa395e91f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 17 Oct 2024 01:44:41 +0000 Subject: [PATCH 4/4] [pre-commit.ci] auto code formatting --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b6643a8b7..c0f674bae 100644 --- a/README.md +++ b/README.md @@ -225,7 +225,7 @@ We plan to add many GPU-accelerated, concurrent data structures to `cuCollection `cuco::static_multimap` is a fixed-size hash table that supports storing equivalent keys. It uses double hashing by default and supports switching to linear probing. See the Doxygen documentation in `static_multimap.cuh` for more detailed information. #### Examples: -- [Host-bulk APIs](https://github.com/NVIDIA/cuCollections/blob/dev/examples/static_multimap/host_bulk_example.cu) (see [live example in godbolt](https://godbolt.org/clientstate/eJylVgtv2zYQ_isHDUXtVJYfaFDEjQN4bYoZK5whTlsUcaHQFG0TkUmNpOx6hv_77ijJlpsM67AWiCHe-7vvjtwFVlgrtbJB_34XyCTod8MgZWqRs4UI-gHPExaEgdW54fTdPpsqOIN3OtsauVg6aPAm9Dq9bgv_vA5h_Hn0fjSEdze3f9zcDu9GN-OIDLzRR8mFsiKBXCXCgFsKGGaM408pCeGzMJQN9KIONEhhGpSyadB8671sdQ4rtgWlHeRWoBtpYS5TAeI7F5kDqYDrVZZKpriAjXRLH6r049OBr6UTPXMM9RlaZPg1r2sCc4fU6d_Suazfbm82m4j5tCNtFu20ULbtj6N31-PJdQtTP5h9UinCC0b8mUuDhc-2wDLMjLMZ5puyDWgDbGEEypymzDdGOqkWIVg9dxtmhPeTSOuMnOXuBLwqT6y_roDwMYXADScwmkwD-HU4GU1C7-fL6O63m0938GV4ezsc342uJ3Bzi80avx9Rq_DrAwzHX-H30fh9CAKhw1Die2aoCkxVEqwiKTCcCHGSxlwXadlMcDmXHCoawUKvhVFYFmTCrGRBOEwy8X5SuZKOOX_2pDgfqj1VU_WLVDzNEwGXPOe6bcmEx6s8dXLFsojny6tTNbc0uXXtRKzRVbwW3GkTkdITFemEYShtc50rgj-uTp7Xt9hPgeR6XuoMUxbBWEU_ZuQrtf5QKocElKqx1jJpTtUO60Q6E0aPYhu7bSaQcgOkhHt7FK1ZmotCWIlIeLAQq8xtY_q0ggoRqWfuAFpd76VmX6gWBwflUpFUObbDUevBuqTft_IvNIQxqpx3XnY6nVKt3cZdgJom5w5bClU_irnrdjoh6oJNNUqLGlpd6rz_sb7TPhOqoe2zKb1WOdkIxtoVTOM0dxKVkfF8qVEFHpXekNcNTXqaIihWGIc5-rjo1IaFw9ItkRSnI9UsgTkjStDUn3deRL5oZBbWekqtywresIbfFXYv800DBOUMemFpfGjB7mkz9qdK3tvuuUbs9yW8BaX6_RMSXxZOMibN87ldAclsY9ysdckIhjAyqMhLdXu1CK4FrjMCC5bUk43G4hwuOBuVxtfRIgpht0NUsYZdN-ziTxRFgCe9c6JDcQz-oxTu6wUchqJRYFadr9ijiJ-M3SVy-6rRaYY_r1yUQjRtNCu74mwmFjhn1dn9N4jjEs64wXJau03Y4Y52uVHwb9DuJLyAxhja0GuGIPdvYV8DeeTZh3OATPTBaUi15y7ShZRoVRUcbZxmVyYrVIL5Hz1O6t0yeiY8pwl3ILiLLry-eHlxcbH_Z8JUpVx569jpeC4xkOfH0aZiRqOudEzw5NTnGUKnzjBqTDHSmvPcGPJlKXGfMl5u95h1sT2atF_o6sX7CgUeoGqTl-7u8Owh1nilmQew-Xwuv6NqgnenExSFuR9CUSSGzwLV8uylJdH1znyT_T4DdJflLiaa4Cbz9wZlXYT56bqb_3M6kxgvVCzXNmr51JD8gJEKEj1t9t5vT4uBEAVmreaS0a1_2J914j0cIj1UDCWMaNIf6mXdy28PkGhh1UuH9z0-JsKaLUojKxDABAaDZy-OhwPMZUGCdD2-OFdGirX4jxCHR5AqtYKsPsrBadnIWtTWU8MjsMQppx1LQeWrmfC73-dVLTywS52n-FBD7o3hFfhBL6qzfmjx1dk4IdHgx2QGcDA8EKVcLnRp4pTie5oeqPhkNcdnd6DWnHd753kXxTpzxZs8aOHtO-CvXnXfQIsZvhzYVfymA60WXs0O_zisWSStlK1m_qGeylnNJ-c8xcN18arGA7yn1WOwDys5UvVEjkwO9t_8_78BsJUldg==)) +- [Host-bulk APIs](https://github.com/NVIDIA/cuCollections/blob/dev/examples/static_multimap/host_bulk_example.cu) (see [live example in godbolt](https://godbolt.org/clientstate/eJylVgtv2zYQ_isHDUXtVJYfaFDEjQN4bYoZK5whTlsUcaHQ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