HomePhabricator

[CUDA] Make __host__/__device__ min/max overloads constexpr in C++14.

Authored by jlebar on Jun 29 2018, 3:28 PM.

Description

[CUDA] Make host__/device__ min/max overloads constexpr in C++14.

Summary: Tests in a separate change to the test-suite.

Reviewers: rsmith, tra

Subscribers: lahwaacz, sanjoy, cfe-commits

Differential Revision: https://reviews.llvm.org/D48151

llvm-svn: 336026

Details

Committed
jlebarJun 29 2018, 3:28 PM
Differential Revision
D48151: [CUDA] Make __host__/__device__ min/max overloads constexpr in C++14.
Parents
rG5cb41c2acf83: [CUDA] Make min/max shims host+device.
Branches
Unknown
Tags
Unknown