PULSAR  2.0.0
Parallel Ultra-Light Systolic Array Runtime
 All Data Structures Files Functions Typedefs Enumerations Macros Groups
PRT API - auxiliary interface

Functions

void prt_vdp_channel_off (prt_vdp_t *vdp, int channel_num)
 Deactivates a channel. More...
 
void prt_vdp_channel_on (prt_vdp_t *vdp, int channel_num)
 Activates a channel. More...
 
void prt_vsa_config_set (prt_vsa_t *vsa, prt_config_param_t param, prt_config_value_t value)
 Sets a VSA configuration parameter. More...
 
void prt_vsa_thread_warmup_func_set (prt_vsa_t *vsa, void(*func)())
 Sets a thread warmup function. If set, the thread warmup function is called by each thread right after launching and before threads are barriered and the timer is started. Allows for excluding the time for initialization procedures of libraries, such as loading of dynamic libraries, internal memory allocations, possibly time consuming pinned memory allocations, etc. A NULL function pointer can be passed to remove the thread warmup function. More...
 

Detailed Description

Function Documentation

void prt_vdp_channel_off ( prt_vdp_t vdp,
int  channel_num 
)

Deactivates a channel.

Parameters
vdp– The VDP deactivating the channel.
channel_num– The number of the channel to be deactivated.

Definition at line 414 of file prt_vdp.c.

void prt_vdp_channel_on ( prt_vdp_t vdp,
int  channel_num 
)

Activates a channel.

Parameters
vdp– The VDP activating the channel.
channel_num– The channel to be activated.

Definition at line 433 of file prt_vdp.c.

void prt_vsa_config_set ( prt_vsa_t vsa,
prt_config_param_t  param,
prt_config_value_t  value 
)

Sets a VSA configuration parameter.

Parameters
vsa– The VSA to configure.
param– The parameter to set.
value– The new value for the parameter.

Definition at line 606 of file prt_vsa.c.

void prt_vsa_thread_warmup_func_set ( prt_vsa_t vsa,
void(*)()  func 
)

Sets a thread warmup function. If set, the thread warmup function is called by each thread right after launching and before threads are barriered and the timer is started. Allows for excluding the time for initialization procedures of libraries, such as loading of dynamic libraries, internal memory allocations, possibly time consuming pinned memory allocations, etc. A NULL function pointer can be passed to remove the thread warmup function.

Parameters
vsa– The VSA to set the function for.
func– The thread (CPU) warmup function.

Definition at line 656 of file prt_vsa.c.