Conversation
almarklein
left a comment
There was a problem hiding this comment.
Nice! Just 2 small comments.
|
Do you think it makes sense to expose this as a top level import? I don't think there's a use case for many more gpu related functions to create a "fpl.gpu" namespace. |
In Maybe put differently ... if fpl is currently a single namespace, I'd just put it in there, I think. |
|
Thanks! I like having your input since you're much much experienced in API design 😄 |
basically wrapper for pygfx/pygfx#709 and pygfx/wgpu-py#481
Adds a
fastplotlib.utils.gpumodule, and exposesenumerate_adapters,select_adapter, andprint_wgpu_reportat top level.Example:
Also added corresponding info to docs: https://fastplotlib--491.org.readthedocs.build/en/491/user_guide/gpu.html#gpu-info