Skip to content

Commit 861b934

Browse files
committed
Fix missing deallocate in cub
1 parent 221fde4 commit 861b934

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cub/cub/detail/device_memory_resource.cuh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ struct device_memory_resource
6868
return ptr;
6969
}
7070

71+
CUB_RUNTIME_FUNCTION void deallocate(::cuda::stream_ref stream, void* ptr, size_t bytes, size_t /* alignment */)
72+
{
73+
deallocate(ptr, bytes);
74+
}
75+
7176
CUB_RUNTIME_FUNCTION void deallocate(::cuda::stream_ref stream, void* ptr, size_t /* bytes */)
7277
{
7378
NV_IF_TARGET( //

0 commit comments

Comments
 (0)