Skip to content

Fix zeros erroring on an empty shape

Churavy, Valentin requested to merge github/fork/nick4f42/fix-zeros-empty into main

Created by: nick4f42

Fixes #504 (closed).

8b94cc69 introduced this bug. I'm not sure of the best value to return in default_cpu_workgroupsize if ndrange is zero, but all ones seems to work. I might have not put the tests in the best place, too. Changes are welcome.

Merge request reports

Loading