Generating GPU code in CMake

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.

回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Get Started with GPU Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by