SYCL 001 - How Install the Intel OpenCL Driver, NVIDIA GPU Computing (CUDA) Toolkit on Windows

Опубликовано: 12 Сентябрь 2024
на канале: IQ95 The Homo Siliconiens
33k
229

We will learn how to install the Intel OpenCL driver on Windows. We will also install the NVIDIA GPU computing toolkit or CUDA toolkit. Through these toolkits, we will learn how to take advantage of GPGPU and Heterogenous Computing.

DISCLAIMER:
I know nothing about OpenCL, neither about SYCL nor GPGPU.

System Requirements:
Windows 10 - version 1903 or Above
Supported Intel CPU processor with Built-in GPU such as UHD 630, 620, etc.

1. Install the latest version of Microsoft Visual Studio 2019
How to Install C++ Compiler on Windows (Microsoft Visual Studio 2019)


2. In the Visual Studio, Install SDK and x64/x86 Spectre-mitigated libs

3. Download the Windows Driver Kit (WDK)


4. Download and Intel OpenCL Driver

5. Download and Install NVIDIA GPU Computing Toolkit (Optional)

User Variables (Environment Variables for OpenCL):

OPENCL_DIR=%INTELOCLSDKROOT%include
OPENCL_LIB_X64=%INTELOCLSDKROOT%lib\x64
OPENCL_LIB_X86=%INTELOCLSDKROOT%lib\x86

OPENCL_NVIDIA_DIR=%CUDA_PATH%\include
OPENCL_NVIDIA_LIB_X64=%CUDA_PATH%\lib\x64
OPENCL_NVIDIA_LIB_X86=%CUDA_PATH%\lib\Win32

Download Source Code: