Skip to content
Discussion options

You must be logged in to vote

For non-array outputs, rather than calling the array.block_until_ready() method, you can call the jax.block_until_ready() function:

%timeit jax.block_until_ready(polyval_gpu())

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@ntlm1686
Comment options

@YouJiacheng
Comment options

@jakevdp
Comment options

@ntlm1686
Comment options

Answer selected by ntlm1686
Comment options

You must be logged in to vote
1 reply
@ntlm1686
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants