![boost cmake install windows boost cmake install windows](https://mildaintrainings.com/wp-content/uploads/2019/08/pthonhome.png)
For Mac OS X systems there is no need to install an OpenCL capable driver and the corresponding library. This section describes how these can be acquired. If OpenCL is to be used with GPUs, suitable drivers have to be installed. libOpenCL.so under Unix based systems) is required. In order to compile and run OpenCL applications, a corresponding library (e.g. Consult the chapter on using multiple devices for configuring the use of other platforms. Note: If multiple OpenCL libraries are available on the host system, ViennaCL uses the first platform returned by the system by default. If you intend to use the OpenCL backend, the include and library directories of your OpenCL SDK should also be added there. For using the CUDA backend, make sure that the CUDA SDK is installed properly and supports your host compiler suite. With Visual Studio this is usually something like C:\Program Files\Microsoft Visual Studio 9.0\VC\include and can be set in Tools -> Options -> Projects and Solutions -> VC++–Directories.
![boost cmake install windows boost cmake install windows](http://stellar.cct.lsu.edu/files/hpx-1.0.0/html/images/cmake_settings1.png)
BOOST CMAKE INSTALL WINDOWS HOW TO
We advise users to consult the documentation of their compiler on how to set the include path correctly. The situation on Windows strongly depends on your development environment. If the OpenCL headers are not installed on your system, you should repeat the above procedure with the folder CL/. On Unix-based systems, this is often /usr/include/ or /usr/local/include/. Since ViennaCL is a header-only library, it is sufficient to copy the folder viennacl/ either into your project folder or to your global system include path. Moreover, the iterative solvers in ViennaCL can directly be used with objects from these libraries.
![boost cmake install windows boost cmake install windows](https://devblogs.microsoft.com/wp-content/uploads/sites/9/2019/02/1.png)
This chapter shows how ViennaCL can be integrated into a project and how the examples are built.