Skip to content

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

Merged
Aalanli merged 1 commit intohidet-org:mainfrom
Aalanli:more-descriptive-kernel-names
Jul 16, 2023
Merged

[Task] More descriptive kernel names for nsys/ncu#315
Aalanli merged 1 commit intohidet-org:mainfrom
Aalanli:more-descriptive-kernel-names

Conversation

@Aalanli
Copy link
Copy Markdown
Contributor

@Aalanli Aalanli commented Jul 13, 2023

No description provided.

Copy link
Copy Markdown
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
Copy Markdown
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
@Aalanli Aalanli deleted the more-descriptive-kernel-names branch September 27, 2023 18:10
vadiklyutiy pushed a commit that referenced this pull request Jul 22, 2024
Closes #215 
@wangshangsam @yaoyaoding 
Is this what you expect in #215? Could you please kindly review this PR?
Thanks.

---------

Co-authored-by: xiaocenxiaocen <xiao.zhang@centml.ai>
Co-authored-by: Shang Wang <samshang.wang@mail.utoronto.ca>
vadiklyutiy pushed a commit that referenced this pull request Jul 23, 2024
Closes #215 
@wangshangsam @yaoyaoding 
Is this what you expect in #215? Could you please kindly review this PR?
Thanks.

---------

Co-authored-by: xiaocenxiaocen <xiao.zhang@centml.ai>
Co-authored-by: Shang Wang <samshang.wang@mail.utoronto.ca>
vadiklyutiy pushed a commit that referenced this pull request Dec 26, 2024
Closes #215 
@wangshangsam @yaoyaoding 
Is this what you expect in #215? Could you please kindly review this PR?
Thanks.

---------

Co-authored-by: xiaocenxiaocen <xiao.zhang@centml.ai>
Co-authored-by: Shang Wang <samshang.wang@mail.utoronto.ca>
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.

2 participants