![]() ![]() Enter project name “particles”, select “ Import CUDA Sample”, as the project type and select “ CUDA Toolkit 6.5” from the available tool chains. ![]() Click on File->New->CUDA C/C++ Project to launch the project creation wizard. nsight from the /usr/local/cuda/bin folder. You can find Nsight in the Finder if the system has indexed it, You can also use the Finder to navigate to the /Developer/NVIDIA/CUDA-6.5/libnsight folder or open a Terminal Application window and launch. ![]() Let’s launch Nsight Eclipse Edition on the Mac OS X host system. You can check the L4T version with the following command. This support will be available in a future release (Rel21.2), but in the meantime you can use the CUDA 6.0 toolkit archive. Please note that if you have a Jetson TK1 as your target system, the current Jetson TK1 OS image for L4T (Linux for Tegra) does not contain the latest CUDA 6.5 toolkit. To synchronize CUDA projects between host and target systems, you need to configure git on both the host and the target systems using these commands. After downloading, update the repo and install the CUDA6.5 toolkit as follows: > sudo dpkg –i cuda-repo-ubuntu1204_6.5-14_b On the 64-bit Ubuntu12.04 host system download the latest 64-bit CUDA 6.5 installer for your Linux distribution (I’m using cuda-repo-ubuntu1204_6.5-14_b). Then download the latest 64-bit CUDA 6.5 package for Mac (I’m using cuda_6.5.14_mac_64.pkg ) and double-click to install the package. To install the CUDA toolkit on the Mac OS X host system, first please make sure you have “Xcode command line tools” installed on your system. I am using Mac OS X 10.8.5 on my host system (with Xcode 5.1.1 installed) and 64-bit Ubuntu 12.04 on my target system. ![]() The remote target system can be a CUDA-supported x86_64 Linux target or an ARM-based platform like the Jetson TK1 system. In synchronized project mode the host system does not need an ARM cross-compilation tool chain, so you have the flexibility to use Mac OS X or any of the CUDA supported x86_64 Linux platforms as the host system. Figure 1: CUDA application development usage scenarios with Nsight Eclipse Edition ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |