Generating GPU code in CMake

1 view (last 30 days)
Jakub Pojsl
Jakub Pojsl on 8 Feb 2021
Hey, I created simple function to return cos of an array. I generated this function in GPU Coder an got c++ code. I have also succesfully generated and executed executable with that function generated in GPU coder on Jetson nano. But when I try to generate same functions with same main file with cmake, executable is generated, but it returns array of zeros.

Answers (0)

Categories

Find more on Get Started with GPU Coder in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!