What are swizzle and vote? Are they anything we might find useful programming in CUDA?
This comment was marked helpful 0 times.
ycp
Just to confirm:
Threads in a block are run concurrently and so they can be synchronized. However, thread blocks are like ISPC tasks and are run independently of each other. Is that right?
This comment was marked helpful 0 times.
kayvonf
@ycp: I like your analogy.
I would prefer to say "Threads in a thread block are run concurrently because CUDA's abstractions allow these threads to communicate and synchronize in ways that require concurrent execution."
This comment was marked helpful 0 times.
RICEric22
Vote is use to perform reduction operations and subsequently broadcast the result to all threads.
Swizzle is used to create other-sized vectors out of four-vectors, because all registers on the GPU are four-vectors. This is used since other instructions may not take four-vectors as arguments.
What are swizzle and vote? Are they anything we might find useful programming in CUDA?
This comment was marked helpful 0 times.
Just to confirm:
Threads in a block are run concurrently and so they can be synchronized. However, thread blocks are like ISPC tasks and are run independently of each other. Is that right?
This comment was marked helpful 0 times.
@ycp: I like your analogy.
I would prefer to say "Threads in a thread block are run concurrently because CUDA's abstractions allow these threads to communicate and synchronize in ways that require concurrent execution."
This comment was marked helpful 0 times.
Vote is use to perform reduction operations and subsequently broadcast the result to all threads.
Swizzle is used to create other-sized vectors out of four-vectors, because all registers on the GPU are four-vectors. This is used since other instructions may not take four-vectors as arguments.
This comment was marked helpful 0 times.