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

2 次查看(过去 30 天)
I don’t know what to do, please guys

采纳的回答

Infinite_king
Infinite_king 2024-2-6
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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 GPU Computing 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by