Repository navigation
Replies: 2 comments 1 reply
|
Hi Professor Pan, nice to hear from you again. I guess you're trying to call this function directly from the Python scope instead of from a kernel? @christophercrouzet maybe we should update the docs to be more clear about the caveats against this, like an cross-reference to the "Python Scope vs. Kernel Scope API" section and mentioning this case. |
0 replies
|
@shi-eric thank you Eric! Good to see you as well! Yes. I was trying to call this from the python directly. Perhaps the code block can have a differerent color for those from kernel api, say background orange? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Environment:
On the basics https://nvidia.github.io/warp/basics.html, we have
"Functions can accept arrays and structs as inputs:"
It gives
RuntimeError: Item indexing is not supported on wp.array objectsThis implies that this part of user guide needs to be updated?
All reactions