silc_acc_init

SYNOPSIS

    SilcBool silc_acc_init(SilcAccelerator acc, SilcSchedule schedule, ...);

DESCRIPTION

Initialize accelerator `acc'. Usually accelerator may be initialized only once and should be done after registering it. The `schedule' must be given as argument, in case the accelerator needs to do operations through the scheduler. The variable argument list is optional accelerator specific initialization arguments. The argument list must be ended with NULL. Returns FALSE if initialization failed.

EXAMPLE

    silc_acc_init(softacc, schedule,
                  "min_threads", 2, "max_threads", 16, NULL);