Skip to content

Identifying Pain Points of Future Refactor #1

Description

@dwrodri

Greetings Authors

I have stumbled upon this project as I am working on collecting fine-grained traces of CUDA kernels, and I am currently attempting to perform a minimal refactor to get it working on LLVM 11.0 and CUDA 10.1.

Here is what I have identified so far as the pain points:

  • Custom commands in CMakeLists.txt need to be updated, since clang is now in the LLVM GitHub repo
  • llvm::GlobalVariable::setAlignment(1) call on lib/InstrumentDevice:79 no longer accepts an int, so probably needs to be replaced with a MaybeAlign?
  • The process for inserting this function call has changed significantly and I am not sure the best way to go about fixing it yet as I am new to writing LLVM plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions