Dear All,
I’ve been struggling to compile remotely a simple code example and really need your help.
Here is my setup:
Host computer: Kbuntu 18,04;
Target: Nvidia Jetson nano B01
IDE: nsight 10,2
I’ve installed all the necessary packages on the host computer using the sdkmanager.
The code is the following:
#include <stdio.h>
global void helloFromGPU(void)
{
printf(“Hello from GPU !!\n”);
}
int main(void)
{
printf(“Hello from CPU !\n”);
helloFromGPU <<<1, 5>>>();
return 0;
}
I think that I’ve configured the target correctly since I can successfully log in into the target and set the project path:
/home/myuser/cuda-workspace/cudaHello3
and toolkit:
/usr/local/cuda-10.2/bin
The problem arises when eclipse tries to synchronize the host with target. The following popup error appears:
Synchronization error for project: cudaHello3
org.eclipse.ptp.rdt.sync.core.exceptions.RemoteExecutionException:
Remote Git init failed with message:/home/myuser/cudaworkspace/cudaHello3/.ptp-sync: Permission denied
Note that regarding to cross-compiling, CUDA and NVIDIA Jetson I’m a rookie.
Thank you in advance!