cuda.core.utils.CopyOptions#
- class cuda.core.utils.CopyOptions(
- src_access_order: MemcpySrcAccessOrder | str = 'stream',
- src_location_hint: Device | Host | None = None,
- dst_location_hint: Device | Host | None = None,
- overlap_mode: MemcpyOverlapMode | str = 'default',
Attribute bundle for a single copy within a batched memcpy.
- Parameters:
src_access_order (
MemcpySrcAccessOrderor str) – Hint describing how the source will be accessed. Default is"stream"(stream-ordered access).src_location_hint (
cuda.core.Device|cuda.core.Host| None) – Hint for the source memory location.Nonemeans no hint.dst_location_hint (
cuda.core.Device|cuda.core.Host| None) – Hint for the destination memory location.Nonemeans no hint.overlap_mode (
MemcpyOverlapModeor str) – Hint for copy-engine / compute overlap. Only meaningful on integrated (Tegra) GPUs; on discrete GPUs the driver silently ignores it and aUserWarningis emitted. Default is"default".