Skip to content

Conversation

@yuhc
Copy link
Member

@yuhc yuhc commented Jun 17, 2021

Description

The previous dump spec failed to dump fatbinaries with no kernel or no useful kernel. This diff handles this corner case.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Document update (this change is mainly a documentation update)

Checklist:

  • My code passes format and lint checks.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have commented my code, particularly in hard-to-understand areas.
  • My changes generate no new warnings.
  • I have tested my code with a reasonable workload.
  • My code may break some other features.

…_Z for cases where function does not start with _Z
…formation

* Skip already processed functions by name by looking up in fatbin_funcs hash
* /tmp/fatbin-info.ava and ava_metadata(NULL)->fd_functions are only updated if the binary has functions
* Removed fatbin_num static integer in favor of ava_metadata(NULL)->num_fatbins
… to handle duplicate function names between CUDA binaries

* Remove old __helper_load_function_arg_info since worker now uses the same function as guest
* Rename __helper_load_function_arg_info_guest to __helper_load_function_arg_info since it is now also used by worker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants