Hi, I am new in jetson, and need helps for basic issues below.
In the cross-compilation set up, I tried to run a sample named “boxfilter” from the host, but the following message was displayed. What should I do next? I searched solutions in google but I did not get any.
Loaded ‘./data/lenaRGB.ppm’, 1024 x 1024 pixels
Found 1 CUDA Capable device(s) supporting CUDA
Device 0: “NVIDIA Tegra X2”
CUDA Runtime Version : 9.0
CUDA Compute Capability : 6.2
Found CUDA Capable Device 0: “NVIDIA Tegra X2”
Setting active device to 0
CUDA error at …/src/boxFilter.cpp:301 code=30(cudaErrorUnknown) “cudaMalloc((void **) &d_img, (width * height * sizeof(unsigned int)))”
The settings of my environment is as follows.
Host: ubuntu 16.04
Nsight eclipse edition version 9.0
Thank you for your help in advance.