--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
NVIDIA GPU Computing Software Development Kit
OpenCL SDK 4.2 Release Notes
R295 and R300 Release Driver
Windows XP, Windows Vista, and Windows 7 (32/64-bit)
Windows Server 2003, 2003 R2, 2008, 2008 R2
Linux OS (32/64-bit)
Mac OSX (10.6.x SnowLeopard 32/64-bit, 10.7.x Lion 32/64-bit)
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
TABLE OF CONTENTS
--------------------------------------------------------------------------------
I Legal Notice
II A Windows Installation Instructions
II B Linux Installation Instructions
III A Creating Your Own OpenCL Program for Windows using the SDK infrastructure
III B Creating Your Own OpenCL Program for Linux using the SDK infrastructure
IV A Creating Your Own OpenCL Program for Windows outside of the SDK infrastructure
IV B Creating Your Own OpenCL Program for Linux outside of the SDK infrastructure
V. A Known Issues on Mac OSX
V. B Known Issues on Linux
VI. Frequently Asked Questions
VII. Change Log
VIII. OS Platforms and Compilers Supported
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
I. Legal Notice
--------------------------------------------------------------------------------
NOTICE: This release is made available to you under the terms and conditions of the
end user license agreement (EULA) distributed with this release. If you do not accept
the EULA, you do not have rights to use the files included in this release and must
delete all copies of all files associated with this release immediately.
--------------------------------------------------------------------------------
II.A. Windows Installation Instructions
--------------------------------------------------------------------------------
1. OpenCL SDK samples included with NVIDIA GPU Computing SDK require a GPU with CUDA Compute
Architecture to run properly. For a complete list of CUDA-Architecture compute-enabled GPUs,
see the list online at: http://www.nvidia.com/object/cuda_learn_products.html
2. OpenCL SDK samples in the NVIDIA GPU Computing SDK require version 295.xx or 300.xx of the NVIDIA
Display Driver or later to run on 32 bit or 64 bit Windows XP, Windows Vista or Windows 7.
This required driver is available pubically through this link.
http://www.nvidia.com/Download/index.aspx?lang=en-us
Please make sure to read the Driver Installation Hints Document before you
install the driver: http://www.nvidia.com/object/driver_installation_hints.html
To download the NVIDIA Drivers refer to this link
http://www.nvidia.com/page/pg_20030521269172.html
3. This SDK includes OpenCL/DirectX interop SDK samples that depend on the Microsoft DirectX SDK.
In order to build these samples, please download the Microsoft DirectX SDK from June 2010 or
newer from this link.
http://msdn.microsoft.com/en-us/directx/default.aspx
4. Uninstall any previous versions of the NVIDIA GPU Computing SDK
5. Install the NVIDIA GPU Computing SDK by running the installer provided for your OS.
The default installation folder for the OpenCL SDK is:
Windows XP
C:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\OpenCL
Windows Vista
C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.2\OpenCL
Note: The "Application Data" and "ProgramData" folders maybe hidden as default in "Windows Explorer"
on many Windows installations. They can be made visible in "Windows Explorer" if desired.
To do this, change the settings in "Folder Options" in the "Tools" menu in the Windows File
Explorer.
6. After installing the SDK, open the SDK Browser from the Start Menu by clicking on "NVIDIA GPU Computing
SDK Browser" in the NVIDIA GPU Computing folder within the NVIDIA Corporation program group
installed in the Windows Start Menu.
- Each installed SDK sample program is shown along with links for running the executable and
viewing the source code files.
- Some of the samples additionally present a link to a Whitepaper describing the sample in detail.
- The samples are presented within the SDK browser in approximate order of complexity, from the least
complex projects at the top to the most complex projects at the bottom.
7. Build the 32-bit or 64-bit (match the installation OS), release and debug
configurations, of the entire set of SDK projects and utility dependencies using
the provided solutions:
"oclRelease_vs2005.sln" for Visual Studio 2005 (VC8)
"oclRelease_vs2008.sln" for Visual Studio 2008 (VC9)
"oclRelease_vs2010.sln" for Visual Studio 2010 (VC10)
These .sln files are installed into the "\NVIDIA GPU Computing SDK 4.2\OpenCL" directory
of the SDK. They will build or copy all SDK sample executables (*.exe) and relevant (*.lib) and (*.dll)
for the present OS and place execution binaries in the proper directories within
"\NVIDIA GPU Computing SDK 4.2\OpenCL\bin\<platform>\<configuration>"
For subsequent builds, you can either
- Use the individual solution files located in each of the examples' directories in
"NVIDIA GPU Computing SDK 4.2\OpenCL\src", or
- Use the global solution files located in "\NVIDIA GPU Computing SDK 4.2\OpenCL".
"oclRelease_vs2005.sln"
"oclRelease_vs2008.sln"
"oclRelease_vs2010.sln"
8. Build Structure Notes for the OpenCL portion of the NVIDIA GPU Computing SDK:
- "$(PlatformName)" (VS2005/VS2008) or "$(Platform)" (VS2010) is used by the Visual Studio
projects in the SDK to switch to the correct OpenCL.lib file version (Win32 or x64) in the
"NVIDIA GPU Computing SDK 4.2\OpenCL\lib" folder. This is a stublib file needed at build
time for implicit linking to the OpenCL dll's, which are installed on the system with the
proper NVIDIA GPU driver.
- A post-build event is executed after building:
"oclRelease_vs2005.sln",
"oclRelease_vs2008.sln",
"oclRelease_vs2010.sln"
and
"oclUtils_vs2005.sln",
"oclUtils_vs2008.sln",
"oclUtils_vs2010.sln"
causing necessary dll's to be copied to the directory within
"NVIDIA GPU Computing SDK 4.2\OpenCL\bin\<platform>\<configuration>"
(the same directory containing the *.exe files, as also discussed in item 6 above). This puts
the DLL's in the first default path location searched by Windows upon execution.
- The samples in the NVIDIA GPU Computing SDK link statically to a utility library called
"shrUtils" which is a set of generic C++ utilities unrelated to OpenCL but useful for
making sample demonstration applications with any of the NVIDIA GPU Computing API's.
- Developers need not worry about shrUtils if step #6 above is executed, because this dependency
is taken care of in step #6. But developers may review or edit source code for shrUtils using
solution files in "\NVIDIA GPU Computing SDK 4.2\shared\":
"shrUtils_vs2005.sln"
"shrUtils_vs2008.sln"
"shrUtils_vs2010.sln"
- The release version of SDK samples link to shrUtils[32|64].lib. The debug versions
of these samples link to shrUtils[32D|64D].lib .
评论0