コード例 #1
0
from __future__ import with_statement  # this is to work with python2.5
import terapyps
from pyps import workspace
workspace.delete("add")
with terapyps.workspace("add.c",
                        name="add",
                        deleteOnClose=False,
                        recoverInclude=False) as w:
    for f in w.fun:
        f.terapix_code_generation(debug=True)
#    w.compile(terapyps.Maker())
コード例 #2
0
from __future__ import with_statement  # this is to work with python2.5
import terapyps
from pyps import workspace
workspace.delete("convol3x3")
with terapyps.workspace("convol3x3.c",
                        name="convol3x3",
                        deleteOnClose=False,
                        recoverInclude=False) as w:
    for f in w.fun:
        f.terapix_code_generation(debug=True)
#    w.compile(terapyps.Maker())
コード例 #3
0
from __future__ import with_statement  # this is to work with python2.5
import terapyps
from pyps import workspace
workspace.delete("alphablending")
with terapyps.workspace("alphablending.c",
                        name="alphablending",
                        deleteOnClose=False) as w:
    for f in w.fun:
        f.terapix_code_generation(debug=True)
#    w.compile(terapyps.Maker())
コード例 #4
0
from __future__ import with_statement  # this is to work with python2.5
import terapyps
from pyps import workspace
workspace.delete("herode")
with terapyps.workspace("herode.c",
                        name="herode",
                        deleteOnClose=False,
                        recoverInclude=False) as w:
    for f in w.fun:
        f.terapix_code_generation(debug=True)
#    w.compile(terapyps.Maker())
コード例 #5
0
from __future__ import with_statement # this is to work with python2.5
import terapyps
from pyps import workspace
workspace.delete("sub")
with terapyps.workspace("sub.c", name="sub", deleteOnClose=False) as w:
    for f in w.fun:
        f.terapix_code_generation(debug=True)
#    w.compile(terapyps.Maker())