AccelerateHS / AccelerateHS/accelerate-llvm

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

未關閉
#98 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Haskell
星號
171
分支
65
PR 合併指標
30 天內沒有已合併 PR

描述

**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](https://gist.github.com/noahmartinwilliams/099b7de10b01e6e26ca05fb7f28284dc).

**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](https://github.com/noahmartinwilliams/c2hs) version of c2hs (SHA: de305049768c2204b59eff66e38defc36628a104),
[this](https://github.com/noahmartinwilliams/language-c) version of language-c (SHA: 98cca579839cd6b6e41baf9d28c1dd53a403f8be),
[this](https://github.com/noahmartinwilliams/accelerate) version of accelerate (SHA: e75e4e17f909af51380c0b589f845bf93fb91344),
GHC version 9.8.1, [this](https://github.com/noahmartinwilliams/llvm-hs/tree/llvm-16) 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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。