how to start with nvidia OpenCL

o bucata de text din OpenCL Release Notes de la nvidia ce mi s-a parut foarte foarte foarte interesanta.

--------------------------------------------------------------------------------
III.A.  Creating a new OpenCL Program in Windows using the SDK infrastructure
--------------------------------------------------------------------------------

Creating a new OpenCL Program using the NVIDIA OpenCL SDK infrastructure is easy.
Just follow these steps:

1. Copy one of the installed OpenCL SDK project folders, in its entirety, into
   "\NVIDIA GPU Computing SDK 4.0\OpenCL\src" and then rename the folder. Now you
   have a folder such as "\NVIDIA GPU Computing SDK 4.0\OpenCL\src\"

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

3. Edit the *.sln, *.vcproj and source files. Just search and replace all
   occurrences of the old filenames to the new ones you chose.

4. Build the 32-bit and/or 64-bit, release and debug configurations using:
      _vs2005.sln
	  _vs2008.sln
	  _vs2010.sln

5. Run .exe from the release or debug, directories located in
   "NVIDIA GPU Computing SDK 4.0\OpenCL\bin\win[32|64]\[release|debug]".

6. Modify the code to perform the computation you require. See the OpenCL
   Programming Guide, the OpenCL API Specifications, and the OpenCL Best Practices
   Guide for details of programming in OpenCL.

atat

No related posts.

Leave a Comment


alison@mailld.com http://vip.mailld.com