How to "deref" a static_map_ref #616
-
When using bulk allocation storage for multiple maps, I have no access to the underlying |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Similar to other operations like cuCollections/include/cuco/static_map_ref.cuh Lines 215 to 227 in 5602381 |
Beta Was this translation helpful? Give feedback.
For host APIs, yes. When users insert via device APIs, they are responsible for counting the number of successful insertions on their own.
It's two operations. You need
write_ftor
to store the output to the device storage first then usecudaMemcpyDeviceToDevice
to copy the device storage back to the host.