Welcome to the Hailo Community!
The Hailo-8L is an accelerator designed to run the compute intensive part of neural network inference. To make use of it, you must describe your function as a network (e.g. Pytorch or Tensorflow) using layers supported by the Hailo Dataflow Compiler. Have a look at the Hailo Dataflow Compiler User guide for a complete description of the supported layers.
There is no low level API that would allow you to just program any function you want. The Hailo devices are not general purpose GPUs.