summaryrefslogtreecommitdiff
path: root/libgomp/ChangeLog.gomp-nvptx
blob: e2c3f493fc0d819f0951bf11d676f7a2afc946af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* plugin/plugin-nvptx.c (nvptx_open_device): Adjust heap size.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/pool.h: New.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/doacross.h: New.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* taskloop.c (GOMP_taskloop): Avoid alloca on NVPTX.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* plugin/plugin-nvptx.c (GOMP_OFFLOAD_dev2dev): New.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/affinity.c: New.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* plugin/plugin-nvptx.c (link_ptx): Adjust log sizes.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* plugin/plugin-nvptx.c (GOMP_OFFLOAD_run): Start 8 warps.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/alloc.c: Delete.
	* config/nvptx/barrier.c: Ditto.
	* config/nvptx/iter.c: Ditto.
	* config/nvptx/iter_ull.c: Ditto.
	* config/nvptx/loop.c: Ditto.
	* config/nvptx/loop_ull.c: Ditto.
	* config/nvptx/ordered.c: Ditto.
	* config/nvptx/parallel.c: Ditto.
	* config/nvptx/single.c: Ditto.
	* config/nvptx/task.c: Ditto.
	* config/nvptx/work.c: Ditto.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* Makefile.am (libgomp_la_SOURCES): Add atomic.c.
	* Makefile.in: Regenerate.
	* critical.c: Split out GOMP_atomic_{start,end} into...
	* atomic.c: ...here (new file).
	* config/nvptx/critical.c: Delete.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/target.c: New.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/error.c: New.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* task.c (GOMP_task): Use a fixed-size on-stack buffer or a heap
	allocation instead of a variable-size on-stack allocation.

2015-12-09  Alexander Monakov  <amonakov@ispras.ru>

	* libgomp.h [__nvptx__] (gomp_thread): New implementation.
	* config/nvptx/team.c (gomp_nvptx_main): New.
	(gomp_thread_start): New (NVPTX-specific implementation).
	(gomp_team_start): Ditto.
	* team.c: Guard uses of PThreads-specific interfaces by
	LIBGOMP_USE_PTHREADS.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/simple-bar.h: New file.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* config/posix/simple-bar.h: New file.  Use it ...
	* libgomp.h: ...here: new include.
	(struct gomp_thread_pool): Change threads_dock member to
	gomp_simple_barrier_t.
	* team.c: Adjust all uses.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/bar.c: New file.
	* config/nvptx/bar.h: Ditto.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/proc.c: New.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* plugin/plugin-nvptx.c (link_ptx): Do not set CU_JIT_TARGET.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/icv-device.c: New file.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* Makefile.am (libgomp_la_SOURCES): Add icv.c and icv-device.c.
	* Makefile.in: Regenerate.
	* env.c: Split out ICV definitions into...
	* icv.c: ...here (new file) and...
	* icv-device.c: ...here. New file.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* configure.ac [nvptx*-*-*] (libgomp_use_pthreads): Set and use it...
	(LIBGOMP_USE_PTHREADS): ...here; new define.
	* configure: Regenerate.
	* config.h.in: Likewise.
	* libgomp.h: Guard pthread.h inclusion.
	(gomp_thread_attr): Guard by LIBGOMP_USE_PTHREADS.
	(gomp_init_thread_affinity): Ditto.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/bar.h: New file.

2015-12-08  Alexander Monakov  <amonakov@ispras.ru>

	* config/nvptx/mutex.h: New file.
	* config/nvptx/ptrlock.h: New file.
	* config/nvptx/sem.h: New file.

2015-12-08  Jakub Jelinek  <jakub@redhat.com>

	* plugin/plugin-nvptx.c (nvptx_host2dev): Allow NULL 'nvthd'.
	(nvptx_dev2host): Ditto.
	(GOMP_OFFLOAD_get_caps): Add GOMP_OFFLOAD_CAP_OPENMP_400.
	(GOMP_OFFLOAD_run): New.