GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - oneapi-src/oneapi-rs

BranchesTags
Open more actions menu

Latest commit

 

History

368 Commits
368 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
oneapi-rs
oneapi-rs
 
 
sycl
sycl
 
 
.clang-format
.clang-format
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE-APACHE
LICENSE-APACHE
 
 
LICENSE-MIT
LICENSE-MIT
 
 
README.md
README.md
 
 
SECURITY.md
SECURITY.md
 
 

Repository files navigation

oneAPI-rs

Basic CodeQL Crates.io

Rust bindings for SYCL and the Intel oneAPI programming environment.

Warning

SYCL-rs is experimental, has not released version 0.1.0, and is not ready for production use. Its API may change without notice.

Supported platforms

The tested configuration is:

  • Linux
  • Intel oneAPI Toolkit 2026.1
  • A SYCL device supported by the installed oneAPI runtime

Other operating systems, oneAPI releases, and SYCL implementations are not currently tested or supported.

Prerequisites

  • A Rust toolchain with Rust 2024 edition support
  • Intel oneAPI Toolkit 2026.1, including the DPC++/C++ compiler and SYCL runtime

Initialize the oneAPI environment before building or running the project:

source /opt/intel/oneapi/setvars.sh

Replace /opt/intel/oneapi if the toolkit is installed elsewhere. The build also accepts an explicit compiler through ONEAPI_CXX; the compiler must support C++17 and SYCL.

Installation

Add your required dependencies with Cargo:

cargo add sycl-rs

Make sure to source the setvars.sh file before building your project.

source /opt/intel/oneapi/setvars.sh
cargo build

Quick start

Build the workspace from source:

git clone https://github.com/oneapi-src/oneapi-rs.git
cd oneapi-rs
source /opt/intel/oneapi/setvars.sh
cargo build --workspace

List the SYCL devices visible to the runtime:

source /opt/intel/oneapi/setvars.sh
cargo run -p sycl-rs --example sycl-ls

The kernel launch examples demonstrate allocation, runtime kernel compilation, kernel submission, and copying results back to the host:

cargo run -p sycl-rs --example kernel_launch

Documentation

  • API documentation
  • Examples
  • Contributing
  • Changelog

License

Licensed under either the Apache License 2.0 or the MIT License, at your option.

About

oneapi-src.github.io/oneapi-rs/

Resources

Readme

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy
Activity
Custom properties

Stars

3 stars

Watchers

0 watching

Forks

3 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.