MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / block_rank_in_cluster

Function block_rank_in_cluster

include/common.h:419–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

417}
418
419DEVICE uint32_t block_rank_in_cluster() {
420 uint32_t rank;
421 asm volatile("mov.u32 %0, %cluster_ctarank;\n" : "=r"(rank) :);
422 return rank;
423}
424
425// Set the destination block-ID in cluster for a given SMEM Address
426DEVICE uint32_t set_block_rank(uint32_t smemAddr, uint32_t rank) {

Callers 1

complete_transactionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected