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

Make ceil_div __host__ __device__ #2217

Merged
merged 1 commit into from
May 14, 2020
Merged

Make ceil_div __host__ __device__ #2217

merged 1 commit into from
May 14, 2020

Conversation

zasdfgbnm
Copy link
Contributor

@zasdfgbnm zasdfgbnm commented May 14, 2020

Fixes #2214

I don't know why the building is not working with --expt-relaxed-constexpr flag set, but it is generally a good idea to declare this as __host__ __device__

Fixes #2214 (comment)

I don't know why the building is not working with `--expt-relaxed-constexpr` flag set, but it is generally a good idea to declare this as `__host__ __device__`
Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Thanks!

@fmassa fmassa merged commit a6073f0 into pytorch:master May 14, 2020
@zasdfgbnm zasdfgbnm deleted the patch-1 branch May 14, 2020 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants