#include "mem_layout_util.hpp"
#include <numeric>
Go to the source code of this file.
|
| coreneuron |
| THIS FILE IS AUTO GENERATED DONT MODIFY IT.
|
|
|
int | coreneuron::nrn_soa_padded_size (int cnt, int layout) |
| calculate size after padding for specific memory layout More...
|
|
size_t | coreneuron::nrn_soa_byte_align (size_t size) |
| return the new offset considering the byte aligment settings More...
|
|
int | coreneuron::nrn_i_layout (int icnt, int cnt, int isz, int sz, int layout) |
| This function return the index in a flat array of a matrix coordinate (icnt, isz). More...
|
|
std::array< int, 3 > | coreneuron::legacy2soaos_index (int legacy_index, const std::vector< int > &array_dims) |
| Split a legacy index into the three SoAoS indices. More...
|
|
int | coreneuron::soaos2cnrn_index (const std::array< int, 3 > &soaos_indices, const std::vector< int > &array_dims, int padded_node_count, int *permute) |
| Compute the CoreNEURON index given an SoAoS index. More...
|
|