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

Added Kernel Launch Op names for AMD GPUs #171

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
11 changes: 10 additions & 1 deletion src/trace_link/kineto_operator.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,16 @@ def is_kernel_launch_op(self) -> bool:
"cudaMemcpyToSymbol",
"cudaLaunchCooperativeKernel",
}
return cuda_launch_categories and self.name in cuda_launch_operations

hip_launch_operations = {
"hipLaunchKernel",
"hipExtLaunchKernel",
"hipExtModuleLaunchKernel",
"hipModuleLaunchKernel",
"hipMemcpyWithStream",
"hipMemcpyAsync",
}
return cuda_launch_categories and (self.name in cuda_launch_operations or self.name in hip_launch_operations)

def is_gpu_op(self) -> bool:
"""
Expand Down
Loading