When I used GPUCoder to compile, I reported an error. When I switched to CCoder, this error was not reported.

2 vues (au cours des 30 derniers jours)
I don’t know what to do, please guys

Réponse acceptée

Infinite_king
Infinite_king le 6 Fév 2024
Hi 梅花,
It looks like a read/write permission error. Follow the below troubleshooting steps to possibly resolve the error.
  1. Make sure that you have read/write access permission to the location in which the source file is located.
  2. Make sure the PATH contains no spaces.
  3. Replace 'parfor' with 'for'. 'parfor' is not required when trying to generate CUDA code using GPU Coder.
Refer the following resources to learn more about GPU Coder
  2 commentaires
梅花
梅花 le 21 Fév 2024
I have modified the code as you suggested, but I still get the error
Infinite_king
Infinite_king le 21 Fév 2024
Can you share the source files ? i will try to reproduce the error and let you know any possible fixes.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

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

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by