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)
def main(): options = parser.parse_args() kernel = read_kernel_specification(options.input[0]) generate_header(options.header, kernel) generate_source(options.code, kernel)