Hi,
I am currently working on an Stereo Vision project, which has to be ported to the Jetson TK1. The project is running on both Win and Linux, with or without the usage of the GPU and with different performance libraries, which will be deselected for the Jetson TK1 (so I just need the CUDA lib).
I tried some CUDA Samples on the target (remote: debugging, running and profiling).
My goal is to create a Eclipse CDT4 makefile that can be imported in the Nsight IDE and later on to perform remote debugging and profiling on the target.
The Host-PC has Ubuntu 14.04 with the JetPackTK1-1.0 (with CUDA 6.5).
I have already successfully built/run/tested the project on the host, but now I have to cross compile it and I hardly found any information how to do that. cmake-gui wants me to specify a tool-chain file but I am not sure which one or what exactly it is, or if NVIDIA already provided one.
On chooru.code (Loading...) I have found some information about CUDA in combination with CMake.
Questions:
Q1: Where/What is the tool-chain file and what is defined in it?
Q2: Do I have to make any adoptions in the existing CMakeList?
Q3: If have found to directories on my host: /usr/arm-linux-gnueabi and /usr/amr-linux-gnueabihf. So what is the purpose of those two? Furthermore I found the directory /usr/local/cuda-6.5/targets/armv7-linux-gnueabihf/{lib, include} … I guess it is the CUDA stuff compiled for the Jetson.
Q4: Does NVIDIA provide any documents for this topic?
Q5: What is the best practice using CMake in my case? (Unfortunately I cannot create a Nsight project from scratch)
So I want to know the best practice to achieve my goals and would be really glad if someone could help me, as I have already wasted some days in research.
Kind regards