Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
4499ead
remove entire tensor submodule and modify cmake accordingly
ndgrigorian Nov 19, 2025
e281983
remove benchmarks
ndgrigorian Nov 19, 2025
f93f01e
remove tensor from dpctl cmake
ndgrigorian Nov 19, 2025
0fec712
remove array API workflow
ndgrigorian Nov 19, 2025
13f5b3c
remove tensor from linting and gitignore
ndgrigorian Nov 19, 2025
1fa26ec
remove tensor from coverage testing
ndgrigorian Nov 19, 2025
35aa9d1
remove tensor-related options from dpctl module call
ndgrigorian Jan 14, 2026
871ae68
remove skip_if_dtype_not_supported test utility
ndgrigorian Jan 27, 2026
3d95fcd
remove references to dpctl.tensor in docstrings
ndgrigorian Jan 27, 2026
c5ba7af
Update dpctl tests to remove dpctl.tensor
ndgrigorian Jan 27, 2026
c596164
remove _compute_follows_data.pyx as it is no longer applicable to the…
ndgrigorian Jan 29, 2026
c717b10
remove cython/usm_memory example
ndgrigorian Jan 29, 2026
349d0a4
remove solver from onemkl example
ndgrigorian Jan 29, 2026
4e076b7
remove python/sycl_timer example
ndgrigorian Jan 29, 2026
20b8d29
Update gemv example to remove calls to dpctl.tensor
ndgrigorian Feb 2, 2026
c9dcbf4
Update dpctl sycl kernel example
ndgrigorian Feb 2, 2026
da4ce75
Update tests for external USM allocation example
ndgrigorian Feb 2, 2026
687f8d4
remove test for tensor includes
ndgrigorian Feb 2, 2026
f1476bd
Remove reference to dpctl.tensor from SyclTimer docstring
ndgrigorian Feb 2, 2026
3032038
remove compute_follows_data imports from dpctl.utils __init__
ndgrigorian Feb 5, 2026
4a19aa2
rewrite C extension test
ndgrigorian Feb 5, 2026
b41a8a7
remove missed reference to tensor in SyclTimer docstring
ndgrigorian Feb 17, 2026
e450664
remove remaining documentation referencing dpctl.tensor
ndgrigorian Feb 17, 2026
cf73c6e
Support compilation from SYCL source code
sommerlukas Apr 10, 2025
36e26e0
adds utility to dpctl.program
ndgrigorian Feb 12, 2026
7a58ef7
adds tests for SYCL source compilation
ndgrigorian Feb 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 0 additions & 5 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,9 @@ per-file-ignores =
dpctl/_sycl_queue_manager.pyx: E999, E225
dpctl/memory/_memory.pyx: E999, E225, E226, E227
dpctl/program/_program.pyx: E999, E225, E226, E227
dpctl/tensor/_usmarray.pyx: E999, E225, E226, E227
dpctl/tensor/_dlpack.pyx: E999, E225, E226, E227
dpctl/tensor/_flags.pyx: E999, E225, E226, E227
dpctl/tensor/numpy_usm_shared.py: F821
dpctl/tests/_cython_api.pyx: E999, E225, E227, E402
dpctl/utils/_compute_follows_data.pyx: E999, E225, E227
dpctl/utils/_onetrace_context.py: E501, W505
dpctl/tensor/_array_api.py: E501, W505
examples/cython/sycl_buffer/syclbuffer/_syclbuffer.pyx: E999, E225, E402
examples/cython/usm_memory/blackscholes/_blackscholes_usm.pyx: E999, E225, E226, E402
examples/cython/use_dpctl_sycl/use_dpctl_sycl/_cython_api.pyx: E999, E225, E226, E402
41 changes: 0 additions & 41 deletions .github/workflows/array-api-skips.txt

This file was deleted.

148 changes: 0 additions & 148 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -666,154 +666,6 @@ jobs:
python ${script} || exit 1
done

array-api-conformity:
needs: build_linux
runs-on: ${{ matrix.runner }}
timeout-minutes: 90
permissions:
pull-requests: write

strategy:
matrix:
python: ['3.10']
experimental: [false]
runner: [ubuntu-22.04]
continue-on-error: ${{ matrix.experimental }}
steps:
- name: Construct channels line
run: |
echo "CHANNELS=-c ${{ env.INTEL_CHANNEL }} -c conda-forge --override-channels" >> $GITHUB_ENV
- name: Display channels line
run: |
echo ${{ env.CHANNELS }}
- name: Checkout dpctl repo
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- name: Cache array API tests
id: cache-array-api-tests
uses: actions/cache@v5
env:
ARRAY_CACHE: 3
with:
path: |
/home/runner/work/array-api-tests/
key: ${{ runner.os }}-array-api-${{ env.cache-name }}-{{ env.ARRAY_CACHE }}-${{ hashFiles('/home/runner/work/array-api-tests/requirements.txt') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Clone array API tests repo
if: steps.cache-array-api-tests.outputs.cache-hit != 'true'
shell: bash -l {0}
run: |
cd /home/runner/work
git clone --recurse-submodules https://github.com/data-apis/array-api-tests array-api-tests
cd array-api-tests
- name: Download artifact
uses: actions/download-artifact@v7
with:
name: ${{ env.PACKAGE_NAME }} ${{ runner.os }} Python ${{ matrix.python }}
- name: Add conda to system path
run: echo $CONDA/bin >> $GITHUB_PATH
- name: Install conda-index
# Needed to be able to run conda index
run: |
conda update -n base --all
conda install conda-index -c conda-forge --override-channels
- name: Create conda channel
run: |
mkdir -p $GITHUB_WORKSPACE/channel/linux-64
conda index $GITHUB_WORKSPACE/channel || exit 1
mv ${PACKAGE_NAME}-*.conda $GITHUB_WORKSPACE/channel/linux-64 || exit 1
conda index $GITHUB_WORKSPACE/channel || exit 1
# Test channel
conda search $PACKAGE_NAME -c $GITHUB_WORKSPACE/channel --override-channels --info --json > $GITHUB_WORKSPACE/ver.json
cat ver.json
- name: Collect dependencies
run: |
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} python=${{ matrix.python }} $CHANNELS --only-deps --dry-run > lockfile
cat lockfile
- name: Set pkgs_dirs
run: |
echo "pkgs_dirs: [~/.conda/pkgs]" >> ~/.condarc
- name: Cache conda packages
uses: actions/cache@v5
env:
CACHE_NUMBER: 3 # Increase to reset cache
with:
path: ~/.conda/pkgs
key:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-${{hashFiles('lockfile') }}
restore-keys: |
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-python-${{ matrix.python }}-
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
- name: Install dpctl
run: |
CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} pytest python=${{ matrix.python }} $CHANNELS
# Test installed packages
conda list
- name: Install array API test dependencies
shell: bash -l {0}
run: |
. $CONDA/etc/profile.d/conda.sh
conda activate ${{ env.TEST_ENV_NAME }}
cd /home/runner/work/array-api-tests
pip install -r requirements.txt
- name: Install jq
shell: bash -l {0}
run: |
sudo apt-get install jq
- name: Run array API conformance tests
id: run-array-api-tests
shell: bash -l {0}
env:
ARRAY_API_TESTS_MODULE: 'dpctl.tensor'
ARRAY_API_TESTS_VERSION: '2024.12'
SYCL_CACHE_PERSISTENT: 1
run: |
FILE=/home/runner/work/.report.json
. $CONDA/etc/profile.d/conda.sh
conda activate ${{ env.TEST_ENV_NAME }}
cd /home/runner/work/array-api-tests
${CONDA_PREFIX}/bin/python -c "import dpctl; dpctl.lsplatform()"
${CONDA_PREFIX}/bin/python -m pytest --json-report --json-report-file=$FILE --disable-deadline --skips-file ${GITHUB_WORKSPACE}/.github/workflows/array-api-skips.txt array_api_tests/ || true
- name: Set Github environment variables
shell: bash -l {0}
run: |
export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
FILE=/home/runner/work/.report.json
if test -f "$FILE"; then
PASSED_TESTS=$(jq '.summary | .passed // 0' $FILE)
FAILED_TESTS=$(jq '.summary | .failed // 0' $FILE)
SKIPPED_TESTS=$(jq '.summary | .skipped // 0' $FILE)
MESSAGE="Array API standard conformance tests for dpctl=$PACKAGE_VERSION ran successfully.
Passed: $PASSED_TESTS
Failed: $FAILED_TESTS
Skipped: $SKIPPED_TESTS"
echo "MESSAGE<<EOF" >> $GITHUB_ENV
echo "$MESSAGE" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
else
echo "Array API standard conformance tests failed to run for dpctl=$PACKAGE_VERSION."
exit 1
fi
- name: Output API summary
shell: bash -l {0}
run: echo "::notice ${{ env.MESSAGE }}"
- name: Post result to PR
if: ${{ github.event.pull_request && !github.event.pull_request.head.repo.fork }}
uses: mshick/add-pr-comment@v2
with:
message: |
${{ env.MESSAGE }}
allow-repeats: true
repo-token: ${{ secrets.GITHUB_TOKEN }}

cleanup_packages:
name: Clean up anaconda packages
needs: [upload_linux, upload_windows]
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ dpctl/_sycl_event.h
dpctl/_sycl_queue.h
dpctl/_sycl_queue_manager.h
dpctl/memory/_memory.h
dpctl/tensor/_usmarray.h

# moved cmake scripts
dpctl/resources/cmake
Expand Down
22 changes: 0 additions & 22 deletions benchmarks/README.md

This file was deleted.

53 changes: 0 additions & 53 deletions benchmarks/asv.conf.json

This file was deleted.

Empty file.
17 changes: 0 additions & 17 deletions benchmarks/benchmarks/benchmark_utils.py

This file was deleted.

Loading
Loading