Justin Lebar
5057f17716
[CUDA] Make __GCC_ATOMIC_XXX_LOCK_FREE macros the same on host/device.
...
Summary:
This fixes a bug where we were unable to compile the following CUDA
file with libstdc++ (didn't try libc++):
#include <future>
void foo() { std::shared_future<int> x; }
The problem is that <future> only defines std::shared_future if
__GCC_ATOMIC_INT_LOCK_FREE > 1. When we compiled this file for device,
the macro was set to 1, and then the class didn't exist at all.
Reviewers: tra
Subscribers: cfe-commits, jhen
Differential Revision: https://reviews.llvm.org/D24407
llvm-svn: 281089
2016-09-09 20:35:43 +00:00
..
2015-07-28 16:48:12 +00:00
2015-02-26 00:17:25 +00:00
2015-07-30 21:30:00 +00:00
2016-08-01 18:39:55 +00:00
2015-03-18 07:53:20 +00:00
2016-03-16 10:21:04 +00:00
2016-04-28 11:29:08 +00:00
2016-06-03 08:47:56 +00:00
2016-01-27 02:18:28 +00:00
2016-04-20 01:02:18 +00:00
2016-08-02 23:43:04 +00:00
2016-08-02 23:43:04 +00:00
2016-09-09 20:35:43 +00:00
2014-12-11 12:18:08 +00:00
2014-05-31 03:38:17 +00:00
2015-06-26 17:49:10 +00:00
2016-02-04 11:54:45 +00:00
2016-01-19 15:15:31 +00:00
2016-04-16 00:07:09 +00:00
2016-04-05 08:36:47 +00:00
2016-04-16 00:07:09 +00:00
2016-03-08 00:40:32 +00:00
2015-03-29 15:33:29 +00:00
2014-10-03 22:18:49 +00:00
2016-04-21 14:30:04 +00:00
2014-05-21 06:13:51 +00:00
2014-07-16 15:12:48 +00:00
2015-10-30 16:30:45 +00:00
2016-09-07 07:08:02 +00:00
2016-04-05 08:36:47 +00:00
2016-04-05 08:36:47 +00:00
2014-12-29 12:09:08 +00:00
2014-10-20 23:26:58 +00:00
2014-06-26 17:24:16 +00:00
2014-12-28 07:42:49 +00:00
2015-08-12 18:24:59 +00:00
2016-02-09 08:51:26 +00:00
2014-10-25 11:40:40 +00:00
2015-12-29 23:06:17 +00:00
2015-08-16 19:02:49 +00:00
2015-08-01 02:55:59 +00:00
2014-12-18 11:14:21 +00:00
2014-12-18 11:14:21 +00:00
2015-08-01 02:55:59 +00:00
2016-01-22 19:26:44 +00:00
2015-07-28 16:48:12 +00:00
2015-06-15 23:44:27 +00:00
2016-06-23 15:07:32 +00:00
2015-06-16 00:19:29 +00:00
2015-02-24 13:34:20 +00:00
2015-02-24 13:34:20 +00:00
2016-02-13 01:44:05 +00:00
2016-09-07 16:38:32 +00:00
2015-03-23 20:41:42 +00:00
2016-07-25 16:36:02 +00:00
2014-10-27 20:02:19 +00:00
2016-06-28 03:13:16 +00:00
2015-06-24 22:02:16 +00:00
2016-02-13 01:44:05 +00:00
2015-03-30 13:50:21 +00:00
2016-04-01 19:02:20 +00:00
2016-01-15 03:24:18 +00:00
2016-05-06 21:17:32 +00:00
2015-08-31 21:48:52 +00:00
2014-05-21 06:13:51 +00:00
2016-04-05 08:36:47 +00:00
2015-09-03 22:51:53 +00:00
2016-02-13 01:44:05 +00:00
2014-05-04 01:56:04 +00:00
2016-04-01 21:33:20 +00:00