Skip to content

[FEA]: Remove all raw cudaMalloc, cudaHostMalloc, cudaFree, etc calls in CUB catch2 tests with c2h vectors. #1917

Description

@alliepiper

Is this a duplicate?

Area

CUB

Is your feature request related to a problem? Please describe.

I've encountered a number of memory leaks in CUB's tests stemming from the use of cudaMalloc, cudaHostMalloc etc with missing frees.

Describe the solution you'd like

RAII containers, ideally c2h vectors, should be used instead. If needed, new ones like c2h:::pinned_vector should be added.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    • Status
      Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions