"...composable_kernel_rocm.git" did not exist on "740149fcf1708a4a023f4d951629cd32aa2c3f3e"
Commit 8a5e3fb0 authored by Alan Turner's avatar Alan Turner
Browse files

Fix sequence regex

parent e10cbe9e
import argparse, re, json, os, sys, file_templates
def strip_sequences(str):
matches = re.findall(r'S<\d+(?:,\s*\d+)*>', str)
matches = re.findall(r'S<\s*\d+(?:,\s*\d+)*>', str)
for match in matches:
str = str.replace(match, match.replace(' ', ''))
str = str.replace('S<', "ck::Sequence<")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment