how can I set a new stream-ordered memory rescource to cuco:static_map? #399
-
I found the consturctor of static_map at source code, which accept 5 parameters as described: How can I make this parameter work? I want to use rapidas:rmm as a general memory manager. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I solved this problem. |
Beta Was this translation helpful? Give feedback.
-
You may want to pass your allocator to |
Beta Was this translation helpful? Give feedback.
Ideally, the map slot type is desired, e.g., cuco::pair<Key, T>, but we are using allocator traits internally converting to the proper type so what's passed by the user doesn't really matter.