--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
NVIDIA CUDA Software Development Kit (CUDA SDK)
Release Notes
Version 0.8 for Windows XP
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------

Please, also refer to the release notes of version 0.8 of CUDA, installed by the
CUDA Toolkit installer.

--------------------------------------------------------------------------------
TABLE OF CONTENTS
--------------------------------------------------------------------------------
I.  Installation Instructions
II. Creating Your Own CUDA Program
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I.  Installation Instructions
--------------------------------------------------------------------------------

0. Install the Windows XP display driver 97.73 provided along with the CUDA SDK
   by running setup.exe. Please make sure to read the Driver Installation Hints
   Document before you install the driver:
   http://www.nvidia.com/object/driver_installation_hints.html
   This release of the CUDA SDK has only been tested with this display driver.
   Earlier driver versions may have issues.

1. Uninstall any previous versions of the NVIDIA CUDA Toolkit and NVIDIA CUDA
   SDK.
   You can uninstall the NVIDIA CUDA Toolkit through the Start menu:
      Start menu->All Programs->NVIDIA Corporation->CUDA Toolkit->Uninstall CUDA
   You can uninstall the NVIDIA CUDA SDK through the Start menu:
      Start menu->All Programs->NVIDIA Corporation->NVIDA SDK 10
                                    ->NVIDIA CUDA SDK->Uninstall NVIDID CUDA SDK

2. Install version 0.8 of the NVIDIA CUDA SDK by running NVIDIA_SDK10_CUDA_*.exe.
   Install version 0.8 of the NVIDIA CUDA Toolkit when prompted to do so. It
   won't prompt you if you have it already installed.

3. Build the release, debug, emurelease, and/or emudebug configurations of the
   SDK project examples using the provided *.sln solution files for Microsoft
   Visual Studio Version 8 or *_vc7.sln solution files for Microsoft Visual
   Studio Version 7:
   
   - First, build the release and/or debug configurations of the cutil library
     using the solution files located in "NVIDIA CUDA SDK\common"; the output of
     the compilation goes to "NVIDIA CUDA SDK\common\lib":
      - cutil32.lib and cutil32D.lib are the release and debug import libraries,
      - cutil32.dll and cutil32D.dll are the release and debug dynamic-link
        libraries, which get also copied to
        "NVIDIA CUDA SDK\common\bin\win32\[release|emurelease]" and
        "NVIDIA CUDA SDK\common\bin\win32\[debug|emudebug]" respectively;
     the release and emurelease versions of each sample link to cutil32.lib and
     dynamic load cutil32.dll;
     the debug and emudebug versions of each sample link to cutil32D.lib and
     dynamic load cutil32D.dll;
   
   - Then, build the release, debug, emurelease, and/or emudebug configurations
     of the examples:
      - using the solution files located in each of the examples' directories in
        "NVIDIA CUDA SDK\projects",
      - or using the global solution files release.sln or release_vc7.sln
        located in "NVIDIA CUDA SDK\projects".
   
   Notes:
    - The simpleD3D example requires to have a Direct3D SDK installed and the
      VC++ directory paths (located in Tools->Options...) properly setup.

4. Run the examples from the release, debug, emurelease, or emudebug directories 
   located in "NVIDIA CUDA SDK\bin\win32\[release|debug|emurelease|emudebug]".
   
   Notes:
    - The simpleGL example requires to have glut32.dll in each of the directories
      above or somewhere in your path environment variable.
    - The release and debug configurations require a GeForce 8800 Series GPU 
      (or equivalent Quadro GPU) to run properly.
    - The emurelease and emudebug configurations run in device emulation mode, 
      and therefore do not require a GeForce 8800 Series GPU to run properly.

--------------------------------------------------------------------------------
II. Creating Your Own CUDA Program
--------------------------------------------------------------------------------

Creating a new CUDA Program using the NVIDIA CUDA SDK infrastructure is easy.
We have provided a "template" project that you can copy and modify to suit your
needs. Just follow these steps:

1. Copy the content of "NVIDIA CUDA SDK\projects\template" to a directory of
   your own "NVIDIA CUDA SDK\projects\myproject"

2. Edit the filenames of the project to suit your needs.

3. Edit the *.sln, *.vcproj and source files. Just search and replace all
   occurences of "template" with "myproject".

4. Build the release, debug, emurelease, and/or emudebug configurations using
   myproject.sln or myproject_vc7.sln.

5. Run myproject.exe from the release, debug, emurelease, or emudebug
   directories located in
   "NVIDIA CUDA SDK\bin\win32\[release|debug|emurelease|emudebug]".

   (It should print "Test PASSED".)

6. Now modify the code to perform the computation you require. See the CUDA
   Programming Guide for details of programming in CUDA.
