Skip to content

Memory leak for both native and ptx backend. [BUG] #98

@noahmartinwilliams

Description

@noahmartinwilliams

Description
When I launch a program that uses accelerate it slowly eats up more and more system memory even though it shouldn't.

Steps to reproduce
The code for the program can be found here.

Expected behaviour
The program should be using a constant amount of memory since it's acting like a pipeline that has a constant internal state size.

Your environment
The code uses this version of c2hs (SHA: de305049768c2204b59eff66e38defc36628a104),
this version of language-c (SHA: 98cca579839cd6b6e41baf9d28c1dd53a403f8be),
this version of accelerate (SHA: e75e4e17f909af51380c0b589f845bf93fb91344),
GHC version 9.8.1, this version of llvm (SHA: 3f03d32e85f5af9ae25c749b33f9c94b10985f4c), llvm 17, and cuda 12.4.
The OS is arch linux which is fully updated as of March 24th 2024.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions