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

[cuda] [bug] Fix CUDA runtime crash #1271

Merged
merged 1 commit into from Jun 18, 2020

Conversation

yuanming-hu
Copy link
Member

@yuanming-hu yuanming-hu commented Jun 18, 2020

@codecov
Copy link

codecov bot commented Jun 18, 2020

Codecov Report

Merging #1271 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1271   +/-   ##
=======================================
  Coverage   65.65%   65.65%           
=======================================
  Files          36       36           
  Lines        5066     5066           
  Branches      928      928           
=======================================
  Hits         3326     3326           
  Misses       1569     1569           
  Partials      171      171           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5304ed5...6b33b99. Read the comment docs.

Copy link
Collaborator

@archibate archibate left a comment

Choose a reason for hiding this comment

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

Working on my end, thank you!

Comment on lines -277 to -279
} else {
runtime->call<void *, void *>("LLVMRuntime_set_profiler", llvm_runtime,
nullptr);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Would you tell me why removing this make things work?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's just because on certain platforms LLVMRuntime_set_profiler is not found. Maybe due to name mangling. I haven't got a chance to figure it out.

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.

[CUDA] RuntimeError: cuModuleGetFunction not found
2 participants