Stencil Code Accelerator Interface
Coding Guide
The Stencil Code Accelerator (SCA) interface accelerates stencil computations, a processing pattern frequently used in image processing, scientific or engineering simulations, deep learning, and so on. The SCA interface enables Python scripts to call functions provided by SCA of NEC Numeric Library Collection, which is highly optimized for Vector Engine of SX-Aurora TSUBASA.
Functions
Creation of Stencil Descriptor
Returns one or more stencil descriptors. |
|
Returns an empty stencil description. |
Creation of Kernel
Creates a SCA kernel. |
Execution of Kernel
Executes the created SCA kernel and returns the result of stencil computations. |
Destruction of Kernel
Destroy a SCA kernel. |
Stride Adjustment
Converts existing ndarrays into optimized ndarrays, whose strides are adjusted to improve perfomance, filled with zeros. |
|
Creates an optimized ndarray, whose strides are adjusted to improve perfomance, filled with zeros. |