Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] More descriptive kernel names for nsys/ncu #315

Merged
merged 1 commit into from Jul 16, 2023

Conversation

Aalanli
Copy link
Collaborator

@Aalanli Aalanli commented Jul 13, 2023

No description provided.

Copy link
Member

@yaoyaoding yaoyaoding left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Aalanli, this would be helpful when we use nsight system and compute to profile the kernels.

Comment on lines +29 to +34
if self.task is not None:
name = f'{self.task.name}_compute_{node.name}'
else:
name = f'compute_{node.name}'

with FunctionBuilder(name=name, kind='cpu_kernel') as fb:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When the auto scheduler is scheduling a task, the self.task will be the task that is scheduling, thus we do not need to add the if here.

@Aalanli Aalanli merged commit 0c18446 into hidet-org:main Jul 16, 2023
2 checks passed
@Aalanli Aalanli deleted the more-descriptive-kernel-names branch September 27, 2023 18:10
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.

None yet

2 participants