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. |
Beta Was this translation helpful? Give feedback.
-
@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? |
Beta Was this translation helpful? Give feedback.
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 objects
This implies that this part of user guide needs to be updated?
Beta Was this translation helpful? Give feedback.
All reactions