NEURON
mem_layout_util.hpp File Reference
#include <array>
#include "coreneuron/coreneuron.hpp"
#include "coreneuron/nrniv/nrniv_decl.h"

Go to the source code of this file.

Namespaces

 coreneuron
 THIS FILE IS AUTO GENERATED DONT MODIFY IT.
 

Macros

#define NRN_SOA_PAD   8
 

Functions

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...
 

Macro Definition Documentation

◆ NRN_SOA_PAD

#define NRN_SOA_PAD   8

Definition at line 21 of file mem_layout_util.hpp.