Effacer les filtres
Effacer les filtres

Standalone Compiler gpuArray RTX 4090 CUDA 12.0

8 vues (au cours des 30 derniers jours)
patmen346
patmen346 le 16 Déc 2022
Commenté : Joss Knight le 19 Déc 2022
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:
  1. Use another machine to compile my code as an app via Compiler Toolbox (R2022b)
  2. Installed this on the new machine with the RTX 4090 including newest MCR
  3. Test GPU gets recognized by the app using gpuDeviceTable - works
  4. Try a simple feedforward network training with GPU - works
  5. 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 commentaires
Joss Knight
Joss Knight le 19 Déc 2022
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
Joss Knight le 19 Déc 2022
Of course, always bear in mind the advice that you should almost never use a matrix inverse .

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur GPU Computing dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by