silx icon indicating copy to clipboard operation
silx copied to clipboard

[OpenCL] Possible waist of resources in silx

Open kif opened this issue 3 months ago • 3 comments

RepeatedKernelRetrieval: Kernel 'decimate' has been retrieved more than once. Each retrieval creates a new, independent kernel, at possibly considerable expense. To avoid the expense, reuse the retrieved kernel instance. To avoid this warning, use cl.Kernel(prg, name).
  prg.decimate(q, (width_out, height_out), None,

kif avatar Sep 14 '25 14:09 kif