Example #1
0
def main():
    options = parser.parse_args()

    kernels = []
    for xml in options.input:
        kernel = read_kernel_specification(xml)
        kernels.append(kernel)

    generate_header(options.header, kernels)
    generate_source(options.code, kernels)
Example #2
0
def main():
    options = parser.parse_args()

    kernel = read_kernel_specification(options.input[0])
    generate_header(options.header, kernel)
    generate_source(options.code, kernel)
Example #3
0
def main():
    options = parser.parse_args()

    kernel = read_kernel_specification(options.input[0])
    generate_header(options.header, kernel)
    generate_source(options.code, kernel)