1. Installation and software testing

1. Download and install Matlab here. For his product a license is necessary. Some universities and other employer make this avaliable to their students/employee. It is advisable to create a desktop icon and test the software with some standard examples. Maybe it's necessary to restart the Computer. The MATLAB® engine library contains routines that allow you to call MATLAB from your own programs, using MATLAB as a computation engine. Using the MATLAB engine requires an installed version of MATLAB; you cannot run the MATLAB engine on a machine that only has the MATLAB Compiler Runtime (MCR).

2. Download and install Visual Studio here. It is advisable to test the software with this standard example and to create a Desktop Icon. Maybe it's necessary to restart the Computer.

3. Download CUDA here. Maybe it's necessary to restart the Computer.

4. To get more information about your graphic card, you can download Cuda Z here. When you double-click the Icon on your Desktop, a window with many information about your graphic card will open. Under "Performance" you can find if your graphic card has a double precision performance.

5. Double click on the Visual Studio Icon. Create a new project: "File" -> "New" -> "Project". Choose on the left side "NVIDIA" "CUDA 6.5" (or newest version) and name the project (e.g. "Test"). Keep the path in your mind oder write it down somewhere. A new project will be created with a standard exaple (vector addition). Click on "Built" -> "Build Solution". If "Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped" appears, click "Strg"+"F5". The command window will open up: "<1,2,3,4,5> + <10,20,30,40,50> = <11,22,33,44,55>". The source code is detailed explained by NVIDIA. Please watch this video.

6. For more information on Cuda, see NVIDIA Toolkit Documentation.

Table of Contents Forward


-- EvaMartenstein - 17 Apr 2015
Topic revision: r6 - 2015-04-22, EvaMartenstein
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)