OpenCL

From SurfLab

Jump to: navigation, search

Installation

NOTE: OpenCL is currently installed only on the machine "lin313-10" in lab CSE 313.

To run OpenCL programs, open your .tcshrc file (located in your home directory) and edit your "LD_LIBRARY_PATH" variable. To point it to the OpenCL library folder add this to the end of your .tcshrc file:

setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/tmp2/NVIDIA_C/OpenCL/common/lib/Linux64/

Sample Programs

OpenCL sample programs (executables) are located in the following directory:

/tmp2/NVIDIA_C/OpenCL/bin/linux/release