Skip to content
Snippets Groups Projects
Commit 51e194b1 authored by René Heß's avatar René Heß
Browse files

Fix pep 8

parent f7779d45
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ def generate_standalone_code_google_benchmark(sf, filename):
# Add the implementation of the kernel.
# TODO: This can probably done in a safer way?
first_line = knl.member.lines[0]
arguments = first_line[first_line.find("(")+1:first_line.find(")")]
arguments = first_line[first_line.find("(") + 1:first_line.find(")")]
with open(filename, "w") as f:
f.writelines(["// {}".format(first_line),
......@@ -202,7 +202,7 @@ def generate_standalone_code_google_benchmark(sf, filename):
"\n"
])
write_global_data(sf, filename);
write_global_data(sf, filename)
with open(filename, "a") as f:
f.write("void sumfact_kernel({})\n".format(arguments))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment