Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
a58f928
initial
brandon-b-miller Oct 22, 2025
db335c1
Merge branch 'main' into deprecate-host-array-api
brandon-b-miller Oct 27, 2025
601eec4
Merge branch 'main' into deprecate-host-array-api
brandon-b-miller Oct 31, 2025
762a6b1
progress replacing tests
brandon-b-miller Nov 1, 2025
2081572
progress
brandon-b-miller Nov 4, 2025
8377953
Merge branch 'main' into deprecate-host-array-api
brandon-b-miller Nov 13, 2025
edf413d
clean
brandon-b-miller Nov 14, 2025
bb92fec
Merge branch 'main' into deprecate-host-array-api
brandon-b-miller Nov 17, 2025
6e08f80
more clean
brandon-b-miller Nov 17, 2025
50683d0
working through more test cases
brandon-b-miller Nov 6, 2025
e44516b
working out class relationships
brandon-b-miller Nov 18, 2025
85d5149
Merge branch 'main' into deprecate-host-array-api
brandon-b-miller Nov 19, 2025
58d716c
partially switch designs
brandon-b-miller Nov 20, 2025
7872521
merge/progress
brandon-b-miller Dec 1, 2025
ec5c175
partial
brandon-b-miller Dec 4, 2025
e06ce49
more progress
brandon-b-miller Dec 5, 2025
ef6860a
fix a few more tests
brandon-b-miller Dec 8, 2025
238052b
even more tests
brandon-b-miller Dec 9, 2025
c2d1f25
Merge branch 'main' into deprecate-host-array-api
brandon-b-miller Dec 10, 2025
1c69776
fix blackscholes test
brandon-b-miller Dec 10, 2025
ec67eb5
fix test_gufunc_arg
brandon-b-miller Dec 10, 2025
40a89a8
tests
brandon-b-miller Dec 10, 2025
bec33c4
fix remaining tests
brandon-b-miller Dec 11, 2025
da9a7e5
merge/resolve
brandon-b-miller Jan 5, 2026
b8f3790
fix new test failures
brandon-b-miller Jan 5, 2026
0e9fc8e
style
brandon-b-miller Jan 5, 2026
185da92
address some greptile reviews
brandon-b-miller Jan 5, 2026
18bdae3
Apply suggestions from code review
brandon-b-miller Jan 5, 2026
d9ba682
address reviews
brandon-b-miller Jan 5, 2026
a2de074
import
brandon-b-miller Jan 5, 2026
de510c2
address reviews, greptile
brandon-b-miller Jan 5, 2026
5a08fd4
lockfile
brandon-b-miller Jan 5, 2026
e335525
run precommit
brandon-b-miller Jan 5, 2026
6664865
bifurcate cupy
brandon-b-miller Jan 5, 2026
92ac62a
merge/resolve
brandon-b-miller Jan 9, 2026
b27e0a2
fixi
brandon-b-miller Jan 9, 2026
89720dd
fix tests
brandon-b-miller Jan 9, 2026
c13e007
fix ndarray check
brandon-b-miller Jan 9, 2026
09d0219
merge/resolve
brandon-b-miller Jan 12, 2026
c269001
Merge branch 'main' into deprecate-host-array-api
brandon-b-miller Jan 12, 2026
2db2d21
fix simulator
brandon-b-miller Jan 12, 2026
ec053d1
update bfloat16 tests
brandon-b-miller Jan 12, 2026
f07b744
merge/resolve
brandon-b-miller Jan 20, 2026
0ae990d
test cu-CUDA_MAJOR in run-tests
brandon-b-miller Jan 20, 2026
b4c03ad
small fixes
brandon-b-miller Jan 20, 2026
733f8b7
more fixes
brandon-b-miller Jan 20, 2026
b70bbd9
remove tests
brandon-b-miller Jan 23, 2026
aadff07
Merge remote-tracking branch 'upstream/main'
brandon-b-miller Jan 27, 2026
55babb4
resolve
brandon-b-miller Jan 27, 2026
0278757
add cupy to test environments
brandon-b-miller Jan 27, 2026
9021311
fix several tests
brandon-b-miller Jan 27, 2026
23cafef
attempt to fix simulator
brandon-b-miller Jan 27, 2026
f317bb1
fix more tests
brandon-b-miller Jan 27, 2026
a6614a3
numpy under cudasim, else cupy
brandon-b-miller Jan 28, 2026
cf5b38d
dont require cupy to find optional deps
brandon-b-miller Jan 30, 2026
51a6349
get()
brandon-b-miller Jan 31, 2026
0434364
fix further tests
brandon-b-miller Jan 31, 2026
6854031
cupy skip if not available
brandon-b-miller Jan 31, 2026
1497092
CI
brandon-b-miller Jan 31, 2026
c1e208f
latest
brandon-b-miller Feb 2, 2026
2437cd8
resolve environments
brandon-b-miller Feb 2, 2026
cf612cf
fix
brandon-b-miller Feb 2, 2026
61b9719
another fix
brandon-b-miller Feb 2, 2026
3d17c0e
correct device array
brandon-b-miller Feb 2, 2026
83c28b0
change cupy import pattern
brandon-b-miller Feb 2, 2026
d3394fd
fix several CI issues
brandon-b-miller Feb 2, 2026
e3c1c09
tweak simulator warnings
brandon-b-miller Feb 2, 2026
75fcce9
conditional cupy import
brandon-b-miller Feb 2, 2026
a0f7dcc
more simulator fixups
brandon-b-miller Feb 2, 2026
78b8d9c
few more test fixes
brandon-b-miller Feb 2, 2026
79e8d1e
fix stream behavior in sim
brandon-b-miller Feb 2, 2026
f704f6f
fix a few lingering test failures
brandon-b-miller Feb 2, 2026
2ff4ef7
Merge branch 'main' into deprecate-host-array-api
brandon-b-miller Feb 3, 2026
fdd3680
fix multithreaded tests in the simulator
brandon-b-miller Feb 3, 2026
ee66e1f
simulator doesn't need cupy
brandon-b-miller Feb 3, 2026
de75f70
old skips
brandon-b-miller Feb 3, 2026
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
2 changes: 1 addition & 1 deletion .github/workflows/simulator-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
set -euo pipefail
CUDA_VER_PART="$(cut -d. -f1-2 <<< "${{ matrix.CUDA_VER }}" | tr . -)"
PY_VER_PART="py$(tr -d . <<< "${{ matrix.PY_VER }}")"
PIXI_ENV="cu-${CUDA_VER_PART}-${PY_VER_PART}"
PIXI_ENV="sim-cu-${CUDA_VER_PART}-${PY_VER_PART}"
echo "PIXI_ENV=${PIXI_ENV}" >> "${GITHUB_ENV}"
- name: Setup pixi
uses: prefix-dev/setup-pixi@fef5c9568ca6c4ff7707bf840ab0692ba3f08293 # v0.9.0
Expand Down
2 changes: 2 additions & 0 deletions ci/coverage_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
set -euo pipefail

CUDA_VER_MAJOR_MINOR=${CUDA_VER%.*}
CUDA_VER_MAJOR=${CUDA_VER%.*.*}

rapids-logger "Install wheel with test dependencies and coverage tools"
package=$(realpath "${NUMBA_CUDA_ARTIFACTS_DIR}"/*.whl)
Expand All @@ -13,6 +14,7 @@ python -m pip install \
"${package}" \
"cuda-python==${CUDA_VER_MAJOR_MINOR%.*}.*" \
"cuda-core" \
"cupy-cuda${CUDA_VER_MAJOR}x" \
pytest-cov \
coverage \
--group test
Expand Down
12 changes: 12 additions & 0 deletions ci/tools/run-tests
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,20 @@
set -euo pipefail

echo "Installing numba-cuda wheel with test dependencies"

# Check Python version to determine if we should install cupy
PYTHON_VERSION=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
INSTALL_CUPY=true
if [[ "${PYTHON_VERSION}" == "3.14" ]]; then
echo "Python 3.14 detected - skipping cupy installation (not yet available)"
INSTALL_CUPY=false
fi

if [[ "${LOCAL_CTK}" == 1 ]]; then
pip install "${NUMBA_CUDA_ARTIFACTS_DIR}"/*.whl "cuda-bindings==${TEST_CUDA_MAJOR}.*" --group test
if [[ "${INSTALL_CUPY}" == "true" ]]; then
pip install "cupy-cuda${TEST_CUDA_MAJOR}x"
fi
else
pip install $(ls "${NUMBA_CUDA_ARTIFACTS_DIR}"/*.whl)["cu${TEST_CUDA_MAJOR}"] "cuda-toolkit==${TEST_CUDA_MAJOR}.${TEST_CUDA_MINOR}.*" --group "test-cu${TEST_CUDA_MAJOR}"
fi
Expand Down
8 changes: 8 additions & 0 deletions docs/source/user/ipc.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ Sharing between processes is implemented using the Legacy CUDA IPC API
Export device array to another process
--------------------------------------

.. note::
DeviceNDArray is deprecated. Prefer CuPy for array operations including
inter-process communication.

A device array can be shared with another process in the same machine using
the CUDA IPC API. To do so, use the ``.get_ipc_handle()`` method on the device
array to get a ``IpcArrayHandle`` object, which can be transferred to another
Expand All @@ -34,6 +38,10 @@ process.
Import IPC memory from another process
--------------------------------------

.. note::
DeviceNDArray is deprecated. Prefer CuPy for array operations including
inter-process communication.

The following function is used to open IPC handle from another process
as a device array.

Expand Down
20 changes: 20 additions & 0 deletions docs/source/user/memory.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Memory management
Data transfer
=============

.. note::
DeviceNDArray is deprecated. Prefer CuPy for array operations including
memory transfers.

Even though Numba can automatically transfer NumPy arrays to the device,
it can only do so conservatively by always transferring device memory back to
the host when a kernel finishes. To avoid the unnecessary transfer for
Expand Down Expand Up @@ -38,6 +42,9 @@ buffer using the following APIs:
Device arrays
-------------

.. note::
DeviceNDArray is deprecated. Prefer CuPy for array operations.

Device array references have the following methods. These methods are to be
called in host code, not within CUDA-jitted functions.

Expand All @@ -52,6 +59,11 @@ called in host code, not within CUDA-jitted functions.
Pinned memory
=============

.. note::
DeviceNDArray is deprecated. Prefer CuPy for array operations including
allocating pinned memory


.. autofunction:: numba.cuda.pinned
:noindex:
.. autofunction:: numba.cuda.pinned_array
Expand All @@ -63,6 +75,10 @@ Pinned memory
Mapped memory
=============

.. note::
DeviceNDArray is deprecated. Prefer CuPy for array operations including
allocating mapped memory

.. autofunction:: numba.cuda.mapped
:noindex:
.. autofunction:: numba.cuda.mapped_array
Expand All @@ -76,6 +92,10 @@ Mapped memory
Managed memory
==============

.. note::
DeviceNDArray is deprecated. Prefer CuPy for array operations including
allocating managed memory

.. autofunction:: numba.cuda.managed_array
:noindex:

Expand Down
Loading
Loading