Closed inducer closed 3 months ago
Surprisingly, this is mostly working now. :)
To do/Needs:
pycl test_wrapper.py 'test_mempool(cl._csc)'
PYOPENCL_TEST=port python test_array.py "test_mem_pool_with_arrays(cl._csc)"
_enqueue
enqueue_nd_range_kernel
for_setter
cl.Context
The infinite recursions appear to be https://github.com/wjakob/nanobind/pull/72.
@matthiasdiener FYI this is happening I think. I'll probably roll a release once it's in.
Surprisingly, this is mostly working now. :)
To do/Needs:
Pass location of numpy headers to CMake(found via CMake now)Pass OpenCL config info to CMake(found via CMake now)pycl test_wrapper.py 'test_mempool(cl._csc)'
crashesPYOPENCL_TEST=port python test_array.py "test_mem_pool_with_arrays(cl._csc)"
crasheshttps://github.com/wjakob/nanobind/pull/23https://github.com/wjakob/nanobind/pull/24See if the(doesn't matter for loopy enqueues, that goes straight to_enqueue
trampoline can be avoidedenqueue_nd_range_kernel
)https://github.com/wjakob/nanobind/pull/71Wait for nanobind 2, forfor_setter
.cl.Context
, which nanobind doesn't currently allow. (Edit: Now does allow.)Work around https://github.com/wjakob/nanobind/pull/72(This seems to have been resolved in the meantime.)