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 trait
NearComputeGeneralPurposeScratchpadExecutionConfig
An ExecutionConfig that requests dynamic near-compute scratchpad memory, which is shared memory on GPUs.
Implemented traitsโ
Required methodsโ
get_near_compute_scratchpad_usageโ
def get_near_compute_scratchpad_usage(self) -> Int
Returns the dynamic scratchpad memory to allocate.
Returns:
Int: The number of bytes of dynamic shared memory per thread block.