Memory Layout Flexibility - 5.2 English - 68552

AOCL API Guide (68552)

Document ID
68552
Release Date
2025-12-29
Version
5.2 English

All APIs support multiple memory layouts:

Table 5.2 Memory Layout Options#

Format

Description

Use Case

Row-major ('R')

C-style layout

Most common, cache-friendly for many operations

Column-major ('C')

Fortran-style layout

Interoperability with Fortran/BLAS libraries

Reordered ('R')

Optimized layout

Repeated operations with same matrix