Loading...
Searching...
No Matches
gpr::linalg::KokkosTransferAuditStats Struct Reference

#include <gpr/linalg/KokkosBackend.h>

Public Attributes

KokkosTransferDirectionStats host_to_device
KokkosTransferDirectionStats device_to_host
KokkosTransferDirectionStats device_to_device
KokkosTransferDirectionStats host_to_host
KokkosTransferDirectionStats boundary_to_execution
KokkosTransferDirectionStats boundary_to_host
std::size_t mirror_create_calls = 0
std::size_t mirror_create_bytes = 0
std::size_t max_boundary_to_execution = 0
std::size_t max_boundary_to_host = 0

Detailed Description

Every wrapped deep_copy and create_mirror. boundary_to_execution and boundary_to_host are the logical host/execution crossings. On a host-memory backend those crossings are also recorded as mirror copies, with the same call and byte totals the device backend records as H2D/D2H.

Definition at line 82 of file KokkosBackend.h.

Member Data Documentation

◆ boundary_to_execution

KokkosTransferDirectionStats gpr::linalg::KokkosTransferAuditStats::boundary_to_execution

Definition at line 87 of file KokkosBackend.h.

◆ boundary_to_host

KokkosTransferDirectionStats gpr::linalg::KokkosTransferAuditStats::boundary_to_host

Definition at line 88 of file KokkosBackend.h.

◆ device_to_device

KokkosTransferDirectionStats gpr::linalg::KokkosTransferAuditStats::device_to_device

Definition at line 85 of file KokkosBackend.h.

◆ device_to_host

KokkosTransferDirectionStats gpr::linalg::KokkosTransferAuditStats::device_to_host

Definition at line 84 of file KokkosBackend.h.

◆ host_to_device

KokkosTransferDirectionStats gpr::linalg::KokkosTransferAuditStats::host_to_device

Definition at line 83 of file KokkosBackend.h.

◆ host_to_host

KokkosTransferDirectionStats gpr::linalg::KokkosTransferAuditStats::host_to_host

Definition at line 86 of file KokkosBackend.h.

◆ max_boundary_to_execution

std::size_t gpr::linalg::KokkosTransferAuditStats::max_boundary_to_execution = 0

Largest single logical crossing. A resident operation's largest crossing is a packed input or a requested output, never a factor.

Definition at line 93 of file KokkosBackend.h.

◆ max_boundary_to_host

std::size_t gpr::linalg::KokkosTransferAuditStats::max_boundary_to_host = 0

Definition at line 94 of file KokkosBackend.h.

◆ mirror_create_bytes

std::size_t gpr::linalg::KokkosTransferAuditStats::mirror_create_bytes = 0

Definition at line 90 of file KokkosBackend.h.

◆ mirror_create_calls

std::size_t gpr::linalg::KokkosTransferAuditStats::mirror_create_calls = 0

Definition at line 89 of file KokkosBackend.h.


The documentation for this struct was generated from the following file: