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

Fix path to static lib for native profiling #88

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

CaptnJackSparrow
Copy link
Contributor

No description provided.

@CaptnJackSparrow CaptnJackSparrow merged commit 1ce9d77 into main Feb 15, 2023
@@ -51,12 +51,13 @@ def init_runtime(self, benchmark: bool, device_id: int):
.replace("{func_to_profile}", f"{self.func_info.name}({self.func_info.as_arg_names()});"))

# Build the timer code
static_lib = self.hat_func.hat_file.dependencies.auxiliary["static"]
Copy link
Contributor

Choose a reason for hiding this comment

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

this field may be optional, since we haven't standardized it yet. Maybe if it is present, we use it, otherwise fallback to link_target.

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