Standalone Compiler gpuArray RTX 4090 CUDA 12.0
古いコメントを表示
Hi,
got a new ML machine with an NVIDIA RTX 4090. I have tried to run a quick benchmark written on my own as a compiled standalone application. What I have done:
- Use another machine to compile my code as an app via Compiler Toolbox (R2022b)
- Installed this on the new machine with the RTX 4090 including newest MCR
- Test GPU gets recognized by the app using gpuDeviceTable - works
- Try a simple feedforward network training with GPU - works
- Try my own implementation of some code with gpuArrays - failed (see below)

Is the latest MCR not compatabile with the new RTX 4090 in some parts of functions (as here with pinv)?
5 件のコメント
Joss Knight
2022 年 12 月 17 日
This looks like a bug - either with MATLAB or more likely CUDA. You should raise a support ticket.
In the meantime
- Make sure you have the latest graphics driver
- Make sure your device is not low on memory when pinv is called. Write a toy version which only calls pinv and uses small arrays.
- Reimplement avoiding cuSolver. Can your code use backslash instead? pinvA = A\eye(size(A,1))
patmen346
2022 年 12 月 19 日
Joss Knight
2022 年 12 月 19 日
Awesome. Can you give me an example matrix that errors? Also, can you only reproduce this with the MCR or does it also happen when running MATLAB?
Unfortunately I don't have an Ada card right now but I can certainly ask NVIDIA to look into it.
Joss Knight
2022 年 12 月 19 日
By the way, what I gave you was actually inv. If A is rectangular or singular you want pinvA = (A'*A)\(A'*eye(size(A,1));
Joss Knight
2022 年 12 月 19 日
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Get Started with GPU Coder についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!