LaunchConfig parameters #828
Unanswered
richardhboyd
asked this question in
Q&A
Replies: 0 comments
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.
-
The launch config takes a
grid
and ablock
parameter. Theblock
parameter appears to be the number of threads per block. I think this aligns with how the 'regular' annotation works in C++ where you specify<<< number_of_blocks, number_of_threads_per block>>>
. When I pass an int to a parameter namedblock
I assume I am telling it how many blocks to use, but I'm actually telling it how 'big' the block should be. If I were creating a block that took an int parameter, I would assume that int is describing how big the block should be.Does anybody have a mental model that makes this a bit more intuitive? I'm not criticizing the design, I'm just assuming that there's some way of thinking about this that makes the interface feel more intuitive.
Beta Was this translation helpful? Give feedback.
All reactions