Open mirzadeh opened 3 years ago
I was wondering if I am missing something trivial or perhaps this is a known issue? Thanks!
Thanks for the report. I hadn't noticed this or had it reported before. I don't know of any workarounds other than to use reserve
to reduce dynamic allocations.
I was trying to debug a performance issue and it lead me to testing the memory allocation of
thrust::host_vector
. Here's a simple benchmark I was running:on my machine I get:
I was wondering if I am missing something trivial or perhaps this is a known issue? Thanks!