Skip to content

Local laplacian generator when using python JIT shows black image with target "host-cuda" #7213

@oliver-batchelor

Description

@oliver-batchelor

Describe the bug

Local laplacian example when using JIT (compile_to_callable) shows black image when target is "host-cuda" (but works fine for "host"). Using prerelease pip wheel for Halide.

To Reproduce

Install Halide python from prerelease pip:

pip install -i https://test.pypi.org/simple/ halide

Put attached local_laplacian_app.py in Halide/python_bindings/apps --target "host"
local_laplacian_app.py.txt

Run python local_laplacian_app.py <some_image.jpg> output.png

Run ``python local_laplacian_app.py <some_image.jpg> output.png --target "host-cuda" `

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions