Skip to content

Commit 9422879

Browse files
committed
fix linter errors
1 parent cfa4fc1 commit 9422879

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ggml/src/ggml-webgpu/wgsl-shaders/embed_wgsl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def replace_placeholders(shader_text, replacements):
2626
shader_text = re.sub(pattern, str(val), shader_text)
2727
return shader_text
2828

29+
2930
def expand_includes(shader, input_dir):
3031
"""
3132
Replace #include "file" lines in the text with the contents of that file.
@@ -45,6 +46,7 @@ def replacer(match):
4546

4647
return include_pattern.sub(replacer, shader)
4748

49+
4850
def write_shader(shader_name, shader_code, output_dir, outfile):
4951
if output_dir:
5052
wgsl_filename = os.path.join(output_dir, f"{shader_name}.wgsl")

ggml/src/ggml-webgpu/wgsl-shaders/get_rows.tmpl.wgsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -871,4 +871,4 @@ fn main(@builtin(global_invocation_id) gid: vec3<u32>) {
871871
}
872872
}
873873

874-
#end(SHADER)
874+
#end(SHADER)

0 commit comments

Comments
 (0)