SpiNNFrontEndCommon 7.3.1
Common support code for user-facing front end systems.
Loading...
Searching...
No Matches
key_atom_map.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2019 The University of Manchester
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * https://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
19#ifndef __KEY_ATOM_MAP_H__
20#define __KEY_ATOM_MAP_H__
21
24typedef struct key_atom_pair_t {
26 uint32_t key;
28 uint32_t n_atoms;
30 uint32_t core_shift: 5;
32 uint32_t n_atoms_per_core: 27;
34
43
44#endif // __KEY_ATOM_MAP_H__
uint32_t key
Multicast key.
key_atom_pair_t pairs[]
The array of mappings.
uint32_t n_atoms_per_core
Number of atoms per core.
uint32_t core_shift
Core shift.
uint32_t n_atoms
Number of atoms for the key.
uint32_t n_pairs
How many key-atom maps are present?
A mapping from multicast keys to sections of a contiguous range of atoms (neurons,...
A pair containing a multicast key and the number of contiguous atoms (neurons, etc....