arrayfire / arrayfire/arrayfire-dotnet

Execution time speed compared to ArrayFire C++

未關閉
#8 33 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
question
主要語言
C#
星號
76
分支
19
PR 合併指標
30 天內沒有已合併 PR

描述

Hi,
I have developed a Arrayfire image processing algorithm in C++. The execution time was around 78-80 ms. Then, I re-implemented the algorithm via the .NET wrapper. Now the execution time is around 120 ms. Is it normal?

PS: I also noticed the .net wrapper leverage 50 of the GPU however the original one used 100 percents
One more thing, the .net wrapped version has no "warm up" time however the original C++ version needs about 1 min to execute for the first time. I am not sure yet if its normal or not!

貢獻指南

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

研究方向

首先比較 issue 中描述的 C++ 與 .NET 實作,包括它們的執行時間、GPU 使用率和首次執行行為。完成的標準是確定所回報的差異是否符合預期,或識別出一個可重現的 wrapper 效能問題;payload 未指定任何檔案或測試。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cpp, csharp
領域
performance
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

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

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