For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).
Mojo module
cp_async
Defines the B200 bulk transfer atom: cp.async.bulk from global to shared memory, completing on an mbarrier.
CpAsyncBulk wraps
cp.async.bulk.shared::cta.global.mbarrier::complete_tx::bytes: one thread
copies a contiguous run of bytes, and the copy completes on the mbarrier
the atom is built with, as transaction bytes the caller expects on it.
You can import these APIs from the layout.atoms.b200.cp_async module:
from layout.atoms.b200.cp_async import CpAsyncBulk, MBarrierTransactionsStructsโ
- โ
CpAsyncBulk:cp.async.bulk.shared::cta.global.mbarrier::complete_tx::bytes: one thread copiesbytescontiguous bytes from global to shared memory, completing onbarrier. - โ
MBarrierTransactions: An mbarrier counting transaction bytes: a copy completes when its bytes have arrived on the barrier the atom was built with.