-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use a find-module to locate Dawn/WebGPU #7525
Conversation
find_package(Halide_WebGPU REQUIRED) | ||
target_link_libraries(${TARGET} ${VISIBILITY} Halide::WebGPU) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If Dawn provided a first-party CMake package, we would only need to write:
find_package(Dawn REQUIRED)
target_link_libraries(${TARGET} ${VISIBILITY} Dawn::Dawn)
here, and there would be no other changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tagging @jrprice as an FYI.
...why aren't the buildbots running on this? |
Maybe because it's a pr-to-pr? |
ahhh, gotcha, let's land it then I guess |
Might want to add some documentation in
README_webgpu.md
for how AOT compilation works.