Skip to content

Commit 2b5b4e5

Browse files
Merge branch 'NVIDIA:main' into mmason-nvidia/bugfix/lto-linking
2 parents 6b0468b + 2d151db commit 2b5b4e5

19 files changed

Lines changed: 4726 additions & 4216 deletions

ci/test_thirdparty_cudf.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ rapids-logger "Run Scalar UDF tests"
4444
python -m pytest python/cudf/cudf/tests/dataframe/methods/test_apply.py -W ignore::UserWarning
4545

4646
rapids-logger "Run GroupBy UDF tests"
47-
python -m pytest python/cudf/cudf/tests/groupby/test_apply.py -k test_groupby_apply_jit -W ignore::UserWarning
47+
# Run JIT engine tests and tests that check jittability before falling back
48+
python -m pytest python/cudf/cudf/tests/groupby/test_apply.py -k test_groupby_apply -W ignore::UserWarning
4849

4950
rapids-logger "Run NRT Stats Counting tests"
5051
python -m pytest python/cudf/cudf/tests/private_objects/test_nrt_stats.py -W ignore::UserWarning

greptile.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"sequenceDiagramSection": {
3+
"included": false,
4+
"collapsible": false,
5+
"defaultOpen": false
6+
}
7+
}

numba_cuda/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.21.3
1+
0.22.1

numba_cuda/numba/cuda/cext/_devicearray.cpp

Lines changed: 0 additions & 159 deletions
This file was deleted.

numba_cuda/numba/cuda/cext/_devicearray.h

Lines changed: 0 additions & 29 deletions
This file was deleted.

numba_cuda/numba/cuda/cext/_dispatcher.cpp

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include "frameobject.h"
1313
#include "traceback.h"
1414
#include "typeconv.hpp"
15-
#include "_devicearray.h"
1615

1716
/*
1817
* Notes on the C_TRACE macro:
@@ -940,37 +939,6 @@ Dispatcher_cuda_call(Dispatcher *self, PyObject *args, PyObject *kws)
940939
return retval;
941940
}
942941

943-
static int
944-
import_devicearray(void)
945-
{
946-
PyObject *devicearray = PyImport_ImportModule(NUMBA_DEVICEARRAY_IMPORT_NAME);
947-
if (devicearray == NULL) {
948-
return -1;
949-
}
950-
951-
PyObject *d = PyModule_GetDict(devicearray);
952-
if (d == NULL) {
953-
Py_DECREF(devicearray);
954-
return -1;
955-
}
956-
957-
PyObject *key = PyUnicode_FromString("_DEVICEARRAY_API");
958-
PyObject *c_api = PyDict_GetItemWithError(d, key);
959-
int retcode = 0;
960-
if (PyCapsule_IsValid(c_api, NUMBA_DEVICEARRAY_IMPORT_NAME "._DEVICEARRAY_API")) {
961-
DeviceArray_API = (void**)PyCapsule_GetPointer(c_api, NUMBA_DEVICEARRAY_IMPORT_NAME "._DEVICEARRAY_API");
962-
if (DeviceArray_API == NULL) {
963-
retcode = -1;
964-
}
965-
} else {
966-
retcode = -1;
967-
}
968-
969-
Py_DECREF(key);
970-
Py_DECREF(devicearray);
971-
return retcode;
972-
}
973-
974942
static PyMethodDef Dispatcher_methods[] = {
975943
{ "_clear", (PyCFunction)Dispatcher_clear, METH_NOARGS, NULL },
976944
{ "_insert", (PyCFunction)Dispatcher_Insert, METH_VARARGS | METH_KEYWORDS,
@@ -1076,12 +1044,6 @@ static PyMethodDef ext_methods[] = {
10761044

10771045

10781046
MOD_INIT(_dispatcher) {
1079-
if (import_devicearray() < 0) {
1080-
PyErr_Print();
1081-
PyErr_SetString(PyExc_ImportError, NUMBA_DEVICEARRAY_IMPORT_NAME " failed to import");
1082-
return MOD_ERROR_VAL;
1083-
}
1084-
10851047
PyObject *m;
10861048
MOD_DEF(m, "_dispatcher", "No docs", ext_methods)
10871049
if (m == NULL)

0 commit comments

Comments
 (0)