Skip to content

Conversation

janeyx99
Copy link
Contributor

THC_API and THC_CLASS were leftover macros from before the consolidation of caffe2, aten, and torch. Now that they're combined, these are misleading and should just be TORCH_CUDA_API. The only file I manually edited was THCGeneral.h.in.

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Dec 21, 2020

💊 CI failures summary and remediations

As of commit 99c4279 (more details on the Dr. CI page):


  • 1/1 failures possibly* introduced in this PR
    • 1/1 non-CircleCI failure(s)

This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

This comment has been revised 4 times.

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@janeyx99 has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@janeyx99 janeyx99 requested a review from a team December 21, 2020 19:10
@codecov
Copy link

codecov bot commented Dec 21, 2020

Codecov Report

Merging #49690 (99c4279) into master (7ed140a) will increase coverage by 5.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #49690      +/-   ##
==========================================
+ Coverage   75.24%   80.56%   +5.31%     
==========================================
  Files        1883     1887       +4     
  Lines      204470   204600     +130     
==========================================
+ Hits       153851   164829   +10978     
+ Misses      50619    39771   -10848     

@facebook-github-bot
Copy link
Contributor

@janeyx99 merged this pull request in aa2782b.

@janeyx99 janeyx99 deleted the eradicate-THC_API branch December 22, 2020 19:22
hwangdeyu pushed a commit to hwangdeyu/pytorch that referenced this pull request Jan 6, 2021
Summary:
THC_API and THC_CLASS were leftover macros from before the consolidation of caffe2, aten, and torch. Now that they're combined, these are misleading and should just be TORCH_CUDA_API. The only file I manually edited was `THCGeneral.h.in`.

Pull Request resolved: pytorch#49690

Reviewed By: malfet

Differential Revision: D25667982

Pulled By: janeyx99

fbshipit-source-id: 2fdf7912b2a0537b7c25e1fed21cc301fa59d57f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants