test_records

The host’s record layouts agree with what the registry says the tiles read and write, and with the goldens’ result types.

Attributes

WORD_BYTES

Functions

test_each_layout_is_as_wide_as_the_registry_says(tile, ...) → None

test_each_record_carries_the_goldens_fields_in_order(...) → None

test_the_struct_and_numpy_views_agree() → None

test_the_quad_row_is_the_row_tiles_input_in_field_order() → None

Module Contents

test_records.WORD_BYTES = 8
test_records.test_each_layout_is_as_wide_as_the_registry_says(tile: str, row_bytes: int, record_bytes: int) → None
test_records.test_each_record_carries_the_goldens_fields_in_order(fields, result_type) → None
test_records.test_the_struct_and_numpy_views_agree() → None
test_records.test_the_quad_row_is_the_row_tiles_input_in_field_order() → None