- Create a GPU code generation configuration object.
- Enable or disable required libraries.
- Set the required Compiler flags,
- Generate the code using ‘codegen’ command
- You change the configuration settings of code generation in the app itself. In the ‘Check for Run-Time Issues’ screen, on the top right, you can find the ‘settings’ option
- In the settings select GPU Code section, in which you can change the configuration settings.
- https://www.mathworks.com/help/gpucoder/gs/gpu-code-generation-the-mandelbrot-set.html
- https://www.mathworks.com/help/gpucoder/ref/coder.gpucodeconfig.html
- https://www.mathworks.com/help/coder/ref/codegen.html#d126e4648