Replies: 1 comment 2 replies
-
The error is:
gcc 8 doesn't support that warning, and there's nothing in the kernel build that adds that flag to compilations - in fact, it disables that warning if the compiler supports it. So something from one of the other layers in your build setup must be adding that flag to CC or CFLAGS... you could try dumping the output of
Probably not, as that recipe just pulls in nvcc and other command-line tools and some basic CUDA runtime support. I'm not sure what you mean by "test parallel processing," but you could add cuda-samples to your image, which will give you a couple of basic test programs. Beyond that, you'd need either recipes for packages/programs that use CUDA that you could add to your image, or as I think you're trying to do here, create a complete SDK-type image for development on the Nano, so you can download and build other programs directly on the target for testing.
You would need to add more than just cuda-toolkit to have a full development environment - you'd also want the complete gcc/g++ toolchain, |
Beta Was this translation helpful? Give feedback.
-
Hi. I am looking to test CPU+GPU parallel processing on the Jetson Nano. For this I added cuda-toolkit to the IMAGE_INSTALL_append as it seems to include many other cuda related recipes as dependencies to the image. As suggested in the README, I have added the
meta-tegra/contrib
layer and configured the build to use GCC 8 in the local.conf usingGCCVERSION = "8.%"
.Up till now, the builds have always gone through without a hitch. But now, the do_compile task of
linux-tegra_4.9.bb
fails errors. Please check this paste for the log.I have tried
bitbake -c cleanall linux-tegra
andbitbake -c cleansstate b2qt-embedded-qt6-image
(image recipe). But the error persists.I am not sure how to proceed further. Also, is adding cuda-toolkit the correct way to test parallel processing? Would it be possible to compile/test Cuda C Programs and Python programs on the target with the cuda-toolkit added? Or do I need to add some other packages as well?
Will really appreciate some help here. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions