PULSAR
2.0.0
Parallel Ultra-Light Systolic Array Runtime
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Typedefs
Enumerations
Macros
Groups
prt_config.c
Go to the documentation of this file.
1
11
#include "
prt_config.h
"
12
14
19
prt_config_t
*
prt_config_new
()
20
{
21
// Allocate the config object.
22
prt_config_t
*config = (
prt_config_t
*)malloc(
sizeof
(
prt_config_t
));
23
prt_assert(config != NULL,
"malloc failed"
);
24
25
// Set the defaults.
26
config->vdp_scheduling = PRT_VDP_SCHEDULING_AGGRESSIVE;
27
config->vdp_scheduling = PRT_SVG_TRACING_OFF;
28
29
// Return the configuration object.
30
return
config;
31
}
32
34
39
void
prt_config_delete
(
prt_config_t
*config)
40
{
41
// Free the configuration object.
42
free(config);
43
}
prt_config.c
Generated on Thu Nov 20 2014 18:12:00 for PULSAR by
1.8.4