cuda.core.utils.MemcpySrcAccessOrder#

class cuda.core.utils.MemcpySrcAccessOrder(
value,
names=<not given>,
*values,
module=None,
qualname=None,
type=None,
start=1,
boundary=None,
)#

Source access order hint for batched memcpy operations.

Maps to CUmemcpySrcAccessOrder.

STREAM

Source reads follow stream order. Earlier stream work may still be accessing the source when the copy is enqueued.

DURING_API_CALL

The driver may read the source out of stream order, but all reads are complete before copy_batch() returns. No earlier stream work may be accessing the source at the time of the call.

ANY

The driver may read the source after the call returns. The caller must keep the source unchanged until the copy completes in stream order. No earlier stream work may be accessing the source.

STREAM: stream

Source access order hint for batched memcpy operations. Maps to CUmemcpySrcAccessOrder. STREAM Source reads follow stream order. Earlier stream work may still be accessing the source when the copy is enqueued. DURING_API_CALL The driver may read the source out of stream order, but all reads are complete before copy_batch() returns. No earlier stream work may be accessing the source at the time of the call. ANY The driver may read the source after the call returns. The caller must keep the source unchanged until the copy completes in stream order. No earlier stream work may be accessing the source.

DURING_API_CALL: during_api_call

Source access order hint for batched memcpy operations. Maps to CUmemcpySrcAccessOrder. STREAM Source reads follow stream order. Earlier stream work may still be accessing the source when the copy is enqueued. DURING_API_CALL The driver may read the source out of stream order, but all reads are complete before copy_batch() returns. No earlier stream work may be accessing the source at the time of the call. ANY The driver may read the source after the call returns. The caller must keep the source unchanged until the copy completes in stream order. No earlier stream work may be accessing the source.

ANY: any

Source access order hint for batched memcpy operations. Maps to CUmemcpySrcAccessOrder. STREAM Source reads follow stream order. Earlier stream work may still be accessing the source when the copy is enqueued. DURING_API_CALL The driver may read the source out of stream order, but all reads are complete before copy_batch() returns. No earlier stream work may be accessing the source at the time of the call. ANY The driver may read the source after the call returns. The caller must keep the source unchanged until the copy completes in stream order. No earlier stream work may be accessing the source.