Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions kernel_tuner/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def check_kernel_output(self, func, gpu_args, instance, answer, atol, verify, ve
# run the kernel
check = self.run_kernel(func, gpu_args, instance)
if not check:
# runtime failure occured that should be ignored, skip correctness check
# runtime failure occurred that should be ignored, skip correctness check
return

# retrieve gpu results to host memory
Expand Down Expand Up @@ -894,7 +894,7 @@ def split_argument_list(argument_list):
match = re.match(regex, arg, re.S)
if not match:
raise ValueError("error parsing templated kernel argument list")
type_list.append(re.sub(r"\s+", " ", match.group(1).strip(), re.S))
type_list.append(re.sub(r"\s+", " ", match.group(1).strip(), flags=re.S))
name_list.append(match.group(2).strip())
return type_list, name_list

Expand Down