Skip to content

remove unnecessary headers from SpectralOps, add cuda.h include to de…#8819

Merged
soumith merged 1 commit intopytorch:masterfrom
ngimel:ballot_warn
Jun 23, 2018
Merged

remove unnecessary headers from SpectralOps, add cuda.h include to de…#8819
soumith merged 1 commit intopytorch:masterfrom
ngimel:ballot_warn

Conversation

@ngimel
Copy link
Collaborator

@ngimel ngimel commented Jun 23, 2018

…viceutils

deprecated __ballot warnings recently appeared again, because THCDeviceUtils was somehow included without cuda.h. This PR removes what looks like unnecessary includes in SpectralOps.cu (on my machine compiles w/o them), and explicitly adds cuda.h to THCDeviceUtils.cuh, so that CUDA_VERSION is always defined there.

@ngimel
Copy link
Collaborator Author

ngimel commented Jun 23, 2018

C2 rocm failure seems unrelated.

@soumith soumith merged commit e4ff0b8 into pytorch:master Jun 23, 2018
@ngimel ngimel deleted the ballot_warn branch January 16, 2019 19:51
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