NVIDIA-Genomics-Research / GenomeWorks

SDK for GPU accelerated genome assembly and analysis
https://clara-parabricks.github.io/GenomeWorks/
Apache License 2.0
281 stars 76 forks source link

[common] DevicePreallocatedAllocator allocates exactly the amount of memory requested, not more #602

Closed mimaric closed 3 years ago

mimaric commented 3 years ago

Closes #600

Also adds round_up() to mathutils.hpp

atadkase commented 3 years ago

Are there tests for this component?

mimaric commented 3 years ago

rerun tests

mimaric commented 3 years ago

Are there tests for this component?

There are not. common is generally not very well tested, which is not a good thing. I'll add some tests.

mimaric commented 3 years ago

@atadkase I added the tests

mimaric commented 3 years ago

rerun tests