A lightweight Python package exposing a subset of OpenCL and SYCL functionalities.
- Install Conda
- Install Intel oneAPI
- Set environment variable
ONEAPI_ROOT- Windows:
C:\Program Files (x86)\Intel\oneAPI\ - Linux:
/opt/intel/oneapi
- Windows:
- Set environment variable
- Install OpenCL HD graphics drivers
- Create and activate conda build environment
conda create -n build-env conda-build
conda activate build-env- Build conda package
conda build conda-recipeOn Windows to cope with long file names:
conda build --croot=C:/tmp conda-recipe- Install conda package
conda install pydpplPyDPPL relies on SYCL runtime. With Intel oneAPI installed you should activate it.
On Windows:
call "%ONEAPI_ROOT%\compiler\latest\env\vars.bat"On Linux:
source ${ONEAPI_ROOT}/compiler/latest/env/vars.shSee examples in folder examples.
Run examples:
python examples/create_sycl_queues.py