|
spinn_common 7.4.2
Support code for SpiNNaker applications.
|
For quick changing between host-side and SpiNNaker side C code printing. More...
Go to the source code of this file.
Macros | |
| #define | malloc spin1_malloc |
| This function is used to mimic malloc on SpiNNaker. | |
| #define | srandom spin1_srand |
| This function is used to mimic srandom on SpiNNaker. | |
| #define | random spin1_rand |
| This function is used to mimic random on SpiNNaker. | |
| #define | fprintf io_printf |
| This function is used to mimic fprintf on SpiNNaker. | |
| #define | stdout IO_BUF |
| This value is used to mimic stdout on SpiNNaker. | |
| #define | stderr IO_BUF |
| This value is used to mimic stderr on SpiNNaker. | |
| #define | printf(s, ...) do { io_printf(IO_BUF, s, ##__VA_ARGS__); } while (0) |
| This function is used to mimic printf on SpiNNaker. | |
| #define | putchar(c) do { io_printf(IO_BUF, "%c", c); } while (0) |
| This function is used to mimic putchar on SpiNNaker. | |
| #define | exit(n) do { spin1_exit(n); } while (0) |
| This function is used to mimic exit on SpiNNaker. | |
Functions | |
| static void | skip (void) |
| This function is used to represent doing nothing. | |
For quick changing between host-side and SpiNNaker side C code printing.
HISTORY
DETAILS Created on : 29 July 2013 Version : $Revision$ Last modified on : $Date$ Last modified by : $Author$ $Id$
$Log$