GPU filters fail when invoked from Python #4846
Labels
type:Bug
Inconsistencies or issues which will cause an incorrect result under some or all circumstances
Milestone
Creating this to track the remaining issue after #4842. See the description there for details.
Description
Python-wrapped GPU filters fail with
OpenCL Error : CL_INVALID_MEM_OBJECT
; they work correctly from C++.Steps to Reproduce
Build ITK with GPU and Python wrapping; run existing
itkGPU*
test suite.There are also filters which do not currently have Python wrapping tests; the issue also affects these. For example
itkGPUDiscreteGaussianImageFilter
:Note the cast to
GPUImage
succeeds and the firstUpdateBuffers()
succeeds. The cast outputs OpenCL platform information. The failure occurs only in filterUpdate()
.Versions
Checked ITK 5.4 and current (as of #4842) master f8d8cf9.
Python 3.9.19, 3.12.4
Environment
cc @jcfr since you mentioned interest.
The text was updated successfully, but these errors were encountered: