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

bad code1 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

bad code1 #3

wants to merge 1 commit into from

Conversation

wenlei03
Copy link
Contributor

No description provided.

Signed-off-by: Lei Wen <[email protected]>
@wenlei03
Copy link
Contributor Author

PR Analysis

  • 🎯 Main theme: The PR introduces a new function ddd in build.py.
  • 📝 PR summary: The PR adds a new function ddd to build.py.
  • 📌 Type of PR: Enhancement
  • 🧪 Relevant tests added: No
  • ⏱️ Estimated effort to review [1-5]: 3, because the PR is small and the code is well-structured.
  • 🔒 Security concerns: No security concerns found

PR Feedback

  • General PR suggestions: The PR title and description are not descriptive enough. Please update them to reflect the changes made in the PR.

@@ -35,6 +35,9 @@ def has_cutlass():
"""Returns true if the CUTLASS custom codegen is available"""
return tvm.get_global_func("relay.ext.cutlass.create_c_source_module", True) is not None

def ddd():
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Rename the function ddd to something more descriptive, such as print_aaa. [important]

@@ -35,6 +35,9 @@ def has_cutlass():
"""Returns true if the CUTLASS custom codegen is available"""
return tvm.get_global_func("relay.ext.cutlass.create_c_source_module", True) is not None

def ddd():
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Add a docstring to the function ddd to describe its purpose and usage. [medium]

@wenlei03
Copy link
Contributor Author

Preparing review...

@wenlei03
Copy link
Contributor Author

PR Analysis

  • 🎯 Main theme: The PR introduces a new function called 'ddd' in the 'build.py' file.
  • 📝 PR summary: The PR adds a new function called 'ddd' to the 'build.py' file.
  • 📌 Type of PR: Enhancement
  • 🧪 Relevant tests added: No
  • ⏱️ Estimated effort to review [1-5]: 3, because the PR is small and simple.
  • 🔒 Security concerns: No security concerns found

PR Feedback

  • General PR suggestions: The PR title and description should be updated to reflect the changes made in the PR.

@@ -35,6 +35,9 @@ def has_cutlass():
"""Returns true if the CUTLASS custom codegen is available"""
return tvm.get_global_func("relay.ext.cutlass.create_c_source_module", True) is not None

def ddd():
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The function 'ddd' is not used anywhere in the code. It should be removed. [important]

@@ -35,6 +35,9 @@ def has_cutlass():
"""Returns true if the CUTLASS custom codegen is available"""
return tvm.get_global_func("relay.ext.cutlass.create_c_source_module", True) is not None

def ddd():
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The function 'ddd' is not used anywhere in the code. It should be removed. [important]

@wenlei03
Copy link
Contributor Author

Preparing review...

8 similar comments
@wenlei03
Copy link
Contributor Author

Preparing review...

@wenlei03
Copy link
Contributor Author

Preparing review...

@wenlei03
Copy link
Contributor Author

Preparing review...

@wenlei03
Copy link
Contributor Author

Preparing review...

@wenlei03
Copy link
Contributor Author

Preparing review...

@wenlei03
Copy link
Contributor Author

Preparing review...

@wenlei03
Copy link
Contributor Author

Preparing review...

@wenlei03
Copy link
Contributor Author

Preparing review...

@wenlei03
Copy link
Contributor Author

PR Analysis

  • 🎯 Main theme: Addition of a new function in the cutlass build script.
  • 📝 PR summary: This PR introduces a new function 'ddd' in the cutlass build script. The function currently prints a string "AAA" and an uninvoked print function.
  • 📌 Type of PR: Enhancement
  • 🧪 Relevant tests added: No
  • ⏱️ Estimated effort to review [1-5]: 1, because the PR is small and the changes are straightforward.
  • 🔒 Security concerns: No security concerns found

PR Feedback

  • 💡 General suggestions: It would be beneficial to provide a more descriptive function name and also to include a brief comment explaining the purpose of the function. Additionally, the print statement seems to be incomplete.

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