NEURON
cellorder.hpp File Reference
#include "coreneuron/utils/memory.h"
#include <algorithm>
#include <vector>

Go to the source code of this file.

Classes

class  neuron::InterleaveInfo
 

Namespaces

 neuron
 In mechanism libraries, cannot use auto const token = nrn_ensure_model_data_are_sorted(); because the return type is incomplete (from include/neuron/model_data.hpp).
 

Macros

#define INTERLEAVE_DEBUG   0
 

Functions

std::vector< int > neuron::interleave_order (int ith, int ncell, int nnode, int *parent)
 Function that performs the permutation of the cells such that the execution threads access coalesced memory. More...
 
void neuron::create_interleave_info ()
 
void neuron::destroy_interleave_info ()
 
std::vector< int > neuron::node_order (int ncell, int nnode, int *parents, int &nwarp, int &nstride, int *&stride, int *&firstnode, int *&lastnode, int *&cellsize, int *&stridedispl)
 Function that returns a permutation of length nnode. More...
 
template<typename T >
void neuron::copy_array (T *&dest, T *src, size_t n)
 
template<typename T >
void neuron::copy_align_array (T *&dest, T *src, size_t n)
 

Macro Definition Documentation

◆ INTERLEAVE_DEBUG

#define INTERLEAVE_DEBUG   0

Definition at line 142 of file cellorder.hpp.