Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump minimum required SYCL versions, drop support for ComputeCpp #167

Merged
merged 2 commits into from
Mar 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 2 additions & 10 deletions .github/workflows/build_matrix.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
{
"NOTE": "Make sure to keep this in sync with docs/platform-support.md. Also ensure that the 'ubuntu-version' between 'HEAD' and 'latest' builds remains the same.",
"default": [
{ "sycl": "computecpp", "sycl-version": "2.6.0", "ubuntu-version": "20.04", "platform": "intel", "build-type": "Debug" },
{ "sycl": "computecpp", "sycl-version": "2.7.0", "ubuntu-version": "20.04", "platform": "intel", "build-type": "Debug" },
{ "sycl": "computecpp", "sycl-version": "2.8.0", "ubuntu-version": "20.04", "platform": "intel", "build-type": "Debug" },
{ "sycl": "computecpp", "sycl-version": "2.9.0", "ubuntu-version": "22.04", "platform": "intel", "build-type": "Debug" },
{ "sycl": "computecpp", "sycl-version": "2.10.0", "ubuntu-version": "22.04", "platform": "intel", "build-type": "Debug" },
{ "sycl": "computecpp", "sycl-version": "2.10.0", "ubuntu-version": "22.04", "platform": "intel", "build-type": "Release" },
{ "sycl": "computecpp", "sycl-version": "2.10.0-experimental", "ubuntu-version": "22.04", "platform": "intel", "build-type": "Debug" },
{ "sycl": "computecpp", "sycl-version": "2.10.0-experimental", "ubuntu-version": "22.04", "platform": "intel", "build-type": "Release" },
{ "sycl": "dpcpp", "sycl-version": "3fd08509", "ubuntu-version": "20.04", "platform": "intel", "build-type": "Debug" },
{ "sycl": "dpcpp", "sycl-version": "61e51015", "ubuntu-version": "20.04", "platform": "intel", "build-type": "Debug" },
{ "sycl": "dpcpp", "sycl-version": "latest", "ubuntu-version": "22.04", "platform": "intel", "build-type": "Debug" },
{ "sycl": "dpcpp", "sycl-version": "latest", "ubuntu-version": "22.04", "platform": "intel", "build-type": "Release" },
{ "sycl": "hipsycl", "sycl-version": "7b00e2ef", "ubuntu-version": "20.04", "platform": "nvidia", "build-type": "Debug" },
{ "sycl": "hipsycl", "sycl-version": "24980221", "ubuntu-version": "20.04", "platform": "nvidia", "build-type": "Debug" },
{ "sycl": "hipsycl", "sycl-version": "latest", "ubuntu-version": "22.04", "platform": "nvidia", "build-type": "Debug" },
{ "sycl": "hipsycl", "sycl-version": "latest", "ubuntu-version": "22.04", "platform": "nvidia", "build-type": "Release" }
],
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ endif()

set(CELERITY_DETAIL_IS_OLD_COMPUTECPP_COMPILER OFF)
if(CELERITY_SYCL_IMPL STREQUAL "ComputeCpp")
message(FATAL "ComputeCpp is currently not supported.") # Comment out this error if you want to build against ComputeCpp anyway.

# Determining the compiler version would usually be a job for FindComputeCpp, but since we're vendoring it, we try
# to avoid introducing unnecessary changes.
# TODO Replace this once FindComputeCpp supports distinguishing old and new ("experimental") compilers natively.
Expand Down
17 changes: 6 additions & 11 deletions docs/platform-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,16 @@ sidebar_label: Platform Support

The most recent version of Celerity aims to support the following environments:

* hipSYCL ≥ revision [`7b00e2ef`](https://github.com/illuhad/hipSYCL/commit/7b00e2ef), with
* hipSYCL ≥ revision [`24980221`](https://github.com/illuhad/hipSYCL/commit/24980221), with
* Clang ≥ 10.0
* CUDA ≥ 11.0
* on NVIDIA hardware with compute capability ≥ 7.0
* or on CPUs via OpenMP
* ComputeCpp ≥ version 2.6.0
* on Intel hardware
* with [stable](https://developer.codeplay.com/products/computecpp/ce/download)
and [experimental](https://developer.codeplay.com/products/computecpp/ce/download?experimental=true) compilers
* DPC++ ≥ revision [`3fd08509`](https://github.com/intel/llvm/commit/3fd08509)
* DPC++ ≥ revision [`61e51015`](https://github.com/intel/llvm/commit/61e51015)
* on Intel hardware

ComputeCpp is currently not supported.

## Continuously Tested Configurations

We automatically verify Celerity's build process and test suites against a select number of system configurations.
Expand All @@ -28,10 +26,7 @@ Those are:

| SYCL | SYCL version | OS | Build type |
|------------|--------------------------------------------------------------------------------|--------------|----------------|
| ComputeCpp | 2.6.0, 2.7.0, 2.8.0, 2.9.0 (stable) | Ubuntu 20.04 | Debug |
| ComputeCpp | 2.10.0 (stable) | Ubuntu 22.04 | Debug, Release |
| ComputeCpp | 2.10.0 (experimental compiler) | Ubuntu 22.04 | Debug, Release |
| DPC++ | [`3fd08509`](https://github.com/intel/llvm/commit/3fd08509) | Ubuntu 20.04 | Debug |
| DPC++ | [`61e51015`](https://github.com/intel/llvm/commit/61e51015) | Ubuntu 20.04 | Debug |
| DPC++ | [`HEAD`](https://github.com/intel/llvm/) | Ubuntu 22.04 | Debug, Release |
| hipSYCL | [`7b00e2ef`](https://github.com/illuhad/hipSYCL/commit/7b00e2ef) (CUDA 11.0.3) | Ubuntu 20.04 | Debug |
| hipSYCL | [`24980221`](https://github.com/illuhad/hipSYCL/commit/24980221) (CUDA 11.0.3) | Ubuntu 20.04 | Debug |
| hipSYCL | [`HEAD`](https://github.com/illuhad/hipSYCL) (CUDA 11.7.0) | Ubuntu 22.04 | Debug, Release |