Skip to content

Removes start-of-line matching restriction for kernel_name in get_stats.py#8

Open
SerinaTan wants to merge 1 commit intogpgpu-sim:masterfrom
SerinaTan:master
Open

Removes start-of-line matching restriction for kernel_name in get_stats.py#8
SerinaTan wants to merge 1 commit intogpgpu-sim:masterfrom
SerinaTan:master

Conversation

@SerinaTan
Copy link
Copy Markdown

If the benchmark happens to use printf() upon kernel completion without '\n', "kernel_name = blahblah" might not appear at the start of the line, in which case re.match() will not find the kernel and the produced table would have mismatched data. Changing it to re.search() to allow matching in the middle of a line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant