Intel oneAPI SYCL Runtime

2025.3.3 · active · verified Fri Apr 17

The `intel-sycl-rt` package provides the Intel® oneAPI DPC++/C++ SYCL Compiler Runtime, essential for executing DPC++/SYCL applications. It is a core component of the Intel oneAPI Toolkit, enabling Python libraries like `dpctl` and `numba-dppy` to leverage SYCL-compatible hardware. Current version is 2025.3.3, with releases typically aligning with oneAPI toolkit updates.

Common errors

Warnings

Install

Imports

Quickstart

This quickstart demonstrates how a Python application, using `dpctl` (a common Python interface for SYCL), can verify the presence and availability of the Intel SYCL runtime. Direct imports of `intel-sycl-rt` are not applicable, as it's a backend runtime.

import dpctl

# Check if a SYCL device is available
if dpctl.has_sycl_devices():
    # Get a default SYCL device (e.g., GPU if available, otherwise CPU)
    device = dpctl.select_default_device()
    print(f"Selected SYCL device: {device.name}")
    
    # The SYCL runtime is now implicitly active and available to dpctl.
    # For actual computation, you would typically use libraries like dpnp or numba-dppy.
    print("SYCL runtime is operational via dpctl. Ensure oneAPI environment is sourced.")
else:
    print("No SYCL devices found. Ensure intel-sycl-rt is installed, oneAPI environment is sourced, and drivers are correct.")

view raw JSON →