Blink API
|
Kernel for a specific device. More...
#include <Blink.h>
Public Member Functions | |
Kernel (const ProgramSource &programSource, ComputeDevice &dev, const std::vector< Image > &images, BlinkCodegenFlags flags=kBlinkCodegenDefault) | |
Fetch a kernel Fetch a kernel for the program to execute on the specified device with images with the same layouts as those provided. Generally it is best to call this every time a kernel is used rather than storing the result. Blink will cache the results of any compilation performed and can quickly retrieve the result using information stored in the program source. | |
void | setParamValue (const std::string &name, bool value) |
void | setParamValue (const std::string &name, float value) |
void | setParamValue (const std::string &name, int value) |
void | setParamValue (const std::string &name, const char *value, unsigned int count) |
For setting multiple booleans. | |
void | setParamValue (const std::string &name, const float *value, unsigned int count) |
void | setParamValue (const std::string &name, const int *value, unsigned int count) |
void | getParamValue (const std::string &name, float *value, unsigned int count) |
void | getParamValue (const std::string &name, int *value, unsigned int count) |
void | iterate () |
void | iterate (const BlinkKernelIterationController &controller) |
Kernel for a specific device.
©2013 The Foundry Visionmongers, Ltd. All Rights Reserved. |