Skip to main content
Log in

Mojo module

memory

Implements parallel_memcpy.

You can import these APIs from the algorithm package. For example:

from algorithm import parallel_memcpy
from algorithm import parallel_memcpy

Functions

  • parallel_memcpy: Copies count elements from a memory buffer src to dest in parallel by spawning num_tasks tasks each copying count_per_task elements.