GPU coder build error
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi, I executed the GPU coder on my code. However, build error has occurred by unknown problem. I cannot understand why am I got the build error.
Additionally, types of input data is stated below.
NodeNum : 1x1 double
Map_Obs : 1701x1701x11 double
PosMap : 31827411x3 double
1 Commento
Walter Roberson
il 8 Ott 2019
What was in the log?
Does the problem fit within the amount of memory of your gpu?
You are doing a lot of indexing. Indexing is pretty inefficient on the gpu. Much more efficient to vectorize computation. Even if that means extracting temporary vectors thatccan be much more effective.
Risposte (2)
Hariprasad Ravishankar
il 11 Ott 2019
Hi Lim,
Looks like the generated code is emitting .cpp files whereas I would expect GPU Coder to emit .cu files.
Did you use coder.gpuConfig to create the codegen config object?
Could you share the command used to generate code?
Further, I see that your are using Visual Studio C++. Can you provide information on the version of the Visual Studio you are using?
Hari
1 Commento
Vedere anche
Categorie
Scopri di più su Get Started with GPU Coder in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!