Oakfield API Documentation 1.0.0
Numerical core APIs
Loading...
Searching...
No Matches
SimNeuralTensorMapMetrics Struct Reference

Explicit copy/transform cost metrics emitted by mapping helpers. More...

#include <neural_tensor_map.h>

Public Attributes

bool zero_copy
 
bool used_copy_fallback
 
size_t bytes_copied_from_field
 
size_t bytes_copied_to_field
 
size_t affine_element_ops
 

Detailed Description

Explicit copy/transform cost metrics emitted by mapping helpers.

Member Data Documentation

◆ affine_element_ops

size_t SimNeuralTensorMapMetrics::affine_element_ops

Number of element-wise affine operations applied.

◆ bytes_copied_from_field

size_t SimNeuralTensorMapMetrics::bytes_copied_from_field

Bytes read+materialized from field into tensor buffer.

◆ bytes_copied_to_field

size_t SimNeuralTensorMapMetrics::bytes_copied_to_field

Bytes written back from tensor buffer into field storage.

◆ used_copy_fallback

bool SimNeuralTensorMapMetrics::used_copy_fallback

True when an intermediate tensor buffer was required.

◆ zero_copy

bool SimNeuralTensorMapMetrics::zero_copy

True when tensor view aliases field memory.


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