Changes between Version 23 and Version 24 of GPUApp


Ignore:
Timestamp:
Mar 13, 2013, 4:21:10 AM (12 years ago)
Author:
charlief
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GPUApp

    v23 v24  
    44We have built sample BOINC-Cuda and BOINC-OpenCL applications as templates for making your own app. The source files are in the [http://boinc.berkeley.edu/trac/wiki/SourceCodeGit BOINC source tree] in samples/nvcuda and samples/openclapp.
    55
    6 Before starting, you must install the appropriate SDK for the GPU you wish to support: [https://developer.nvidia.com/cuda-downloads NVIDIA SDK] or [http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/ ATI / AMD SDK].  This document assumes version 5 of the NVIDIA SDK or version 2.8 of the AMD SDK.  (Exception: no SDK is required for the OpenCL sample on Mac OS X, which has OpenCL support built in.)
     6Before starting, you must install the appropriate SDK for the GPU you wish to support: [https://developer.nvidia.com/cuda-downloads NVIDIA SDK], [http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/ ATI / AMD SDK] or [http://software.intel.com/en-us/vcsource/tools/opencl-sdk-2013 Intel Ivy Bridge].  This document assumes version 5 of the NVIDIA SDK or version 2.8 of the AMD SDK.  (Exception: no SDK is required for the OpenCL sample on Mac OS X, which has OpenCL support built in.)
    77
    88== OpenCL Sample Notes == #openclnotes
     
    3535=== ATI Stream OpenCL ===
    3636The project file, example_app_atiopencl.vcproj, is in `boinc/win_build/`. It uses the same source files as NVIDIA OpenCL.
     37
     38Please read the [#openclnotes OpenCL Sample Notes] section above.
     39
     40=== Intel Ivy Bridge OpenCL ===
     41''Project file to be added.''  It uses the same source files as NVIDIA OpenCL.
    3742
    3843Please read the [#openclnotes OpenCL Sample Notes] section above.
     
    100105Please read the [#openclnotes OpenCL Sample Notes] section above.
    101106
     107=== Intel Ivy Bridge OpenCL ===
     108''Project file to be added.''  It uses the same source files as NVIDIA OpenCL.
     109
     110Please read the [#openclnotes OpenCL Sample Notes] section above.
     111
    102112== Mac OS X == #mac
    103113The Mac versions are built using gcc/make (not xcode).
     
    130140}}}
    131141=== OpenCL ===
    132 Mac OS X has built in support for OpenCL.  No additional SDK is needed to build and run the OpenCL sample, provided that you have an OpenCL-capable GPU.
     142Mac OS X has built in support for OpenCL.  No additional SDK is needed to build and run the OpenCL sample, provided that you have an OpenCL-capable GPU.  Note: at this time, Mac OS X does not yet support OpenCL on Intel Ivy Bridge GPUs.
    133143
    134144Use the Terminal application to build the sample application.  In Terminal, `cd` to the `samples/openclapp` directory and type: