Skip to content

Commit

Permalink
Make the method static.
Browse files Browse the repository at this point in the history
  • Loading branch information
isazi committed Oct 4, 2023
1 parent f4fa14a commit 3cd419b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kernel_tuner/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ def compile_kernel(self, instance, verbose):
raise e
return func

def preprocess_gpu_arguments(self, old_arguments, params):
@staticmethod
def preprocess_gpu_arguments(old_arguments, params):
""" Get a flat list of arguments based on the configuration given by `params` """
return _preprocess_gpu_arguments(old_arguments, params)

Expand Down

0 comments on commit 3cd419b

Please sign in to comment.