mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 12:15:09 -05:00
This adds a new operation interface `SDFGConvertibleOpInterface` that allows an operation to specify how it is converted to an SDFG process. The interface consists of a single method `convert` that receives as the arguments the DFG created using `SDFG.init`, a set of SDFG input streams corresponding to the operands and a set of output streams for results. The order of the input and output streams corresponds to the order of the operands and output values, respectively.
9 lines
359 B
C++
9 lines
359 B
C++
// Part of the Concrete Compiler Project, under the BSD3 License with Zama
|
|
// Exceptions. See
|
|
// https://github.com/zama-ai/concrete-compiler-internal/blob/main/LICENSE.txt
|
|
// for license information.
|
|
|
|
#include "concretelang/Dialect/SDFG/Interfaces/SDFGConvertibleInterface.h"
|
|
|
|
#include "concretelang/Dialect/SDFG/Interfaces/SDFGConvertibleInterface.cpp.inc"
|