]>
Commit | Line | Data |
---|---|---|
ab332cd7 GA |
1 | 2022-10-11 Olivier Hainque <hainque@adacore.com> |
2 | Olivier Hainque <hainque@adacore.com> | |
3 | ||
4 | * plugin/configure: Regenerate. | |
5 | ||
6 | 2022-10-11 Olivier Hainque <hainque@adacore.com> | |
7 | Olivier Hainque <hainque@adacore.com> | |
8 | ||
9 | * configure: Regenerate. | |
10 | ||
861d1a11 GA |
11 | 2022-09-09 Tobias Burnus <tobias@codesourcery.com> |
12 | ||
13 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_load_image): | |
14 | Add (unused) uint64_t **rev_fn_table argument. | |
15 | ||
5d4389dc GA |
16 | 2022-08-25 Martin Liska <mliska@suse.cz> |
17 | ||
18 | * configure: Regenerate. | |
19 | * plugin/configure: Regenerate. | |
20 | ||
8467574d GA |
21 | 2022-07-04 Tobias Burnus <tobias@codesourcery.com> |
22 | Chung-Lin Tang <cltang@codesourcery.com> | |
23 | Thomas Schwinge <thomas@codesourcery.com> | |
24 | ||
25 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_get_num_devices): | |
26 | Return -1 when device available but omp_requires_mask != 0. | |
27 | ||
19472fc3 GA |
28 | 2021-10-19 Martin Liska <mliska@suse.cz> |
29 | ||
30 | * include/coi/source/COIBuffer_source.h: Convert 2 chars to | |
31 | unicode. | |
32 | ||
2bc6dace GA |
33 | 2021-05-25 Richard Biener <rguenther@suse.de> |
34 | ||
35 | PR libgomp/100747 | |
36 | * configure: Make executable. | |
37 | * plugin/configure: Likewise. | |
38 | ||
651b8a50 GA |
39 | 2021-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org> |
40 | ||
41 | * configure: Re-generate. | |
42 | * plugin/configure: Re-generate. | |
43 | ||
a9625c50 GA |
44 | 2020-11-29 John David Anglin <danglin@gcc.gnu.org> |
45 | ||
46 | * configure: Regenerate. | |
47 | * plugin/configure: Regenerate. | |
48 | ||
af2311ab ML |
49 | 2020-05-05 Martin Liska <mliska@suse.cz> |
50 | ||
51 | PR other/89860 | |
52 | * runtime/offload_target.cpp: Put index check | |
53 | before its use. | |
54 | ||
e8e66971 MR |
55 | 2020-01-24 Maciej W. Rozycki <macro@wdc.com> |
56 | ||
57 | * plugin/configure.ac: Handle `--with-toolexeclibdir='. | |
58 | * plugin/Makefile.in: Regenerate. | |
59 | * plugin/aclocal.m4: Regenerate. | |
60 | * plugin/configure: Regenerate. | |
61 | * configure.ac: Handle `--with-toolexeclibdir='. | |
62 | * Makefile.in: Regenerate. | |
63 | * aclocal.m4: Regenerate. | |
64 | * configure: Regenerate. | |
65 | ||
6fc0385c TS |
66 | 2020-01-10 Thomas Schwinge <thomas@codesourcery.com> |
67 | ||
68 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_get_property): | |
69 | Remove. | |
70 | ||
6c84c8bf MR |
71 | 2019-12-22 Maciej W. Rozycki <macro@codesourcery.com> |
72 | Frederik Harwath <frederik@codesourcery.com> | |
73 | Thomas Schwinge <tschwinge@codesourcery.com> | |
74 | ||
75 | liboffloadmic/ | |
76 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_get_property): | |
77 | New function. | |
78 | ||
43a0ea77 MR |
79 | 2019-10-01 Maciej W. Rozycki <macro@wdc.com> |
80 | ||
81 | * plugin/configure: Regenerate. | |
82 | ||
e9085da5 MR |
83 | 2019-09-27 Maciej W. Rozycki <macro@wdc.com> |
84 | ||
85 | * configure: Regenerate. | |
86 | ||
67914693 SL |
87 | 2019-01-09 Sandra Loosemore <sandra@codesourcery.com> |
88 | ||
89 | PR other/16615 | |
90 | ||
91 | * include/coi/common/COIResult_common.h: Mechanically replace | |
92 | "can not" with "cannot". | |
93 | * include/coi/source/COIBuffer_source.h: Likewise. | |
94 | ||
890b87d1 TS |
95 | 2018-12-14 Thomas Schwinge <thomas@codesourcery.com> |
96 | ||
97 | * runtime/offload.h (omp_target_is_present, omp_target_memcpy) | |
98 | (omp_target_memcpy_rect, omp_target_associate_ptr) | |
99 | (omp_target_disassociate_ptr): Adjust to libgomp changes. | |
100 | ||
22e05272 JM |
101 | 2018-10-31 Joseph Myers <joseph@codesourcery.com> |
102 | ||
103 | PR bootstrap/82856 | |
104 | * Makefile.am: Include multilib.am. | |
105 | * configure.ac: Remove AC_PREREQ. | |
106 | * plugin/Makefile.am: Include multilib.am. | |
107 | * plugin/configure.ac: Remove AC_PREREQ. | |
108 | * Makefile.in, aclocal.m4, configure, plugin/Makefile.in, | |
109 | plugin/aclocal.m4, plugin/configure: Regenerate. | |
110 | ||
001ddaa8 DM |
111 | 2018-04-18 David Malcolm <dmalcolm@redhat.com> |
112 | ||
113 | PR jit/85384 | |
114 | * configure: Regenerate. | |
115 | * plugin/configure: Regenerate. | |
116 | ||
dced339c TS |
117 | 2017-01-31 Thomas Schwinge <thomas@codesourcery.com> |
118 | ||
119 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_get_type): Fix | |
120 | return type. | |
121 | (GOMP_OFFLOAD_load_image): Fix argument types. | |
122 | ||
73aa401e JJ |
123 | 2017-01-21 Jakub Jelinek <jakub@redhat.com> |
124 | ||
125 | PR other/79046 | |
126 | * plugin/configure.ac: Add GCC_BASE_VER. | |
127 | * plugin/Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead | |
128 | of cat to get version from BASE-VER file. | |
129 | * plugin/configure: Regenerated. | |
130 | * plugin/aclocal.m4: Regenerated. | |
131 | * plugin/Makefile.in: Regenerated. | |
132 | ||
8d67fcd8 JJ |
133 | 2017-01-20 Jakub Jelinek <jakub@redhat.com> |
134 | ||
135 | PR other/79046 | |
136 | * aclocal.m4: Regenerated. | |
137 | * Makefile.in: Regenerated. | |
138 | ||
3c36aa6b JJ |
139 | 2017-01-17 Jakub Jelinek <jakub@redhat.com> |
140 | ||
141 | PR other/79046 | |
142 | * configure.ac: Add GCC_BASE_VER. | |
143 | * Makefile.am (gcc_version): Use @get_gcc_base_ver@ instead of cat to | |
144 | get version from BASE-VER file. | |
145 | * aclocal.m4: Include ../config/acx.m4. | |
146 | * configure: Regenerated. | |
147 | * Makefile.in: Regenerated. | |
148 | ||
84c1b9d3 MK |
149 | 2016-11-15 Matthias Klose <doko@ubuntu.com> |
150 | ||
151 | * configure: Regenerate. | |
152 | ||
df26a50d IV |
153 | 2016-07-21 Ilya Verbin <ilya.verbin@intel.com> |
154 | ||
155 | * Makefile.am (myo_inc_dir): Remove. | |
156 | (toolexeclib_LTLIBRARIES): Remove libmyo-client.la and | |
157 | libmyo-service.la. | |
158 | (liboffloadmic_cppflags): Remove -DMYO_SUPPORT. | |
159 | (liboffloadmic_host_la_SOURCES): Remove offload_myo_host.cpp. | |
160 | (liboffloadmic_target_la_SOURCES): Remove offload_myo_target.cpp. | |
161 | (liboffloadmic_target_la_LIBADD): Remove libmyo-service.la. | |
162 | (libmyo_client_la_SOURCES, libmyo_service_la_SOURCES): Remove. | |
163 | (libmyo_client_la_DEPENDENCIES, libmyo_service_la_DEPENDENCIES): Remove. | |
164 | (libmyo_client_la_CPPFLAGS, libmyo_service_la_CPPFLAGS): Remove. | |
165 | (libmyo_client_la_LDFLAGS, libmyo_service_la_LDFLAGS): Remove. | |
166 | * Makefile.in: Regenerate. | |
167 | * doc/doxygen/header.tex: Merge from upstream, version 20160715 | |
168 | <https://openmprtl.org/sites/default/files/liboffload_oss_20160715.tgz>. | |
169 | * runtime/cean_util.cpp: Likewise. | |
170 | * runtime/cean_util.h: Likewise. | |
171 | * runtime/coi/coi_client.cpp: Likewise. | |
172 | * runtime/coi/coi_client.h: Likewise. | |
173 | * runtime/coi/coi_server.cpp: Likewise. | |
174 | * runtime/coi/coi_server.h: Likewise. | |
175 | * runtime/compiler_if_host.cpp: Likewise. | |
176 | * runtime/compiler_if_host.h: Likewise. | |
177 | * runtime/compiler_if_target.cpp: Likewise. | |
178 | * runtime/compiler_if_target.h: Likewise. | |
179 | * runtime/dv_util.cpp: Likewise. | |
180 | * runtime/dv_util.h: Likewise. | |
181 | * runtime/liboffload_error.c: Likewise. | |
182 | * runtime/liboffload_error_codes.h: Likewise. | |
183 | * runtime/liboffload_msg.c: Likewise. | |
184 | * runtime/liboffload_msg.h: Likewise. | |
185 | * runtime/mic_lib.f90: Likewise. | |
186 | * runtime/offload.h: Likewise. | |
187 | * runtime/offload_common.cpp: Likewise. | |
188 | * runtime/offload_common.h: Likewise. | |
189 | * runtime/offload_engine.cpp: Likewise. | |
190 | * runtime/offload_engine.h: Likewise. | |
191 | * runtime/offload_env.cpp: Likewise. | |
192 | * runtime/offload_env.h: Likewise. | |
193 | * runtime/offload_host.cpp: Likewise. | |
194 | * runtime/offload_host.h: Likewise. | |
195 | * runtime/offload_iterator.h: Likewise. | |
196 | * runtime/offload_myo_host.cpp: Likewise. | |
197 | * runtime/offload_myo_host.h: Likewise. | |
198 | * runtime/offload_myo_target.cpp: Likewise. | |
199 | * runtime/offload_myo_target.h: Likewise. | |
200 | * runtime/offload_omp_host.cpp: Likewise. | |
201 | * runtime/offload_omp_target.cpp: Likewise. | |
202 | * runtime/offload_orsl.cpp: Likewise. | |
203 | * runtime/offload_orsl.h: Likewise. | |
204 | * runtime/offload_table.cpp: Likewise. | |
205 | * runtime/offload_table.h: Likewise. | |
206 | * runtime/offload_target.cpp: Likewise. | |
207 | * runtime/offload_target.h: Likewise. | |
208 | * runtime/offload_target_main.cpp: Likewise. | |
209 | * runtime/offload_timer.h: Likewise. | |
210 | * runtime/offload_timer_host.cpp: Likewise. | |
211 | * runtime/offload_timer_target.cpp: Likewise. | |
212 | * runtime/offload_trace.cpp: Likewise. | |
213 | * runtime/offload_trace.h: Likewise. | |
214 | * runtime/offload_util.cpp: Likewise. | |
215 | * runtime/offload_util.h: Likewise. | |
216 | * runtime/ofldbegin.cpp: Likewise. | |
217 | * runtime/ofldend.cpp: Likewise. | |
218 | * runtime/orsl-lite/include/orsl-lite.h: Likewise. | |
219 | * runtime/orsl-lite/lib/orsl-lite.c: Likewise. | |
220 | * runtime/use_mpss2.txt: Remove. | |
221 | * include/coi/common/COIEngine_common.h: Merge from upstream, MPSS | |
222 | version 3.7.1 | |
223 | <http://registrationcenter-download.intel.com/akdlm/irc_nas/9226/ | |
224 | mpss-3.7.1-linux.tar>. | |
225 | * include/coi/common/COIEvent_common.h: Likewise. | |
226 | * include/coi/common/COIMacros_common.h: Likewise. | |
227 | * include/coi/common/COIPerf_common.h: Likewise. | |
228 | * include/coi/common/COIResult_common.h: Likewise. | |
229 | * include/coi/common/COISysInfo_common.h: Likewise. | |
230 | * include/coi/common/COITypes_common.h: Likewise. | |
231 | * include/coi/sink/COIBuffer_sink.h: Likewise. | |
232 | * include/coi/sink/COIPipeline_sink.h: Likewise. | |
233 | * include/coi/sink/COIProcess_sink.h: Likewise. | |
234 | * include/coi/source/COIBuffer_source.h: Likewise. | |
235 | * include/coi/source/COIEngine_source.h: Likewise. | |
236 | * include/coi/source/COIEvent_source.h: Likewise. | |
237 | * include/coi/source/COIPipeline_source.h: Likewise. | |
238 | * include/coi/source/COIProcess_source.h: Likewise. | |
239 | * include/myo/myo.h: Remove. | |
240 | * include/myo/myoimpl.h: Remove. | |
241 | * include/myo/myotypes.h: Remove. | |
242 | * plugin/Makefile.am (AM_LDFLAGS): Remove -lmyo-service. | |
243 | * plugin/Makefile.in: Regenerate. | |
244 | * plugin/libgomp-plugin-intelmic.cpp (LD_LIBRARY_PATH_ENV): Remove. | |
245 | (MIC_LD_LIBRARY_PATH_ENV): Remove. | |
246 | (init): Do not set MIC_LD_LIBRARY_PATH. Now liboffloadmic uses only | |
247 | LD_LIBRARY_PATH. | |
248 | * plugin/offload_target_main.cpp: Update copyright years. | |
249 | * runtime/emulator/coi_common.h: Likewise. | |
250 | * runtime/emulator/coi_device.cpp: Likewise. | |
251 | * runtime/emulator/coi_device.h: Likewise. | |
252 | * runtime/emulator/coi_host.cpp: Likewise. | |
253 | (COIBufferCreate): Allow COI_BUFFER_OPENCL. | |
254 | (COIEngineGetInfo): Return COI_DEVICE_KNL instead of COI_ISA_x86_64. | |
255 | * runtime/emulator/coi_host.h: Update copyright years. | |
256 | * runtime/emulator/coi_version_asm.h: Likewise. | |
257 | * runtime/emulator/coi_version_linker_script.map: Likewise. | |
258 | * runtime/emulator/myo_client.cpp: Remove. | |
259 | * runtime/emulator/myo_service.cpp: Remove. | |
260 | * runtime/emulator/myo_service.h: Remove. | |
261 | * runtime/emulator/myo_version_asm.h: Remove. | |
262 | * runtime/emulator/myo_version_linker_script.map: Remove. | |
263 | ||
6ce13072 CLT |
264 | 2016-05-26 Chung-Lin Tang <cltang@codesourcery.com> |
265 | ||
266 | * plugin/libgomp-plugin-intelmic.cpp (offload): Change return type | |
267 | to bool, adjust return code. | |
268 | (GOMP_OFFLOAD_init_device): Likewise. | |
269 | (GOMP_OFFLOAD_fini_device): Likewise. | |
270 | (get_target_table): Likewise. | |
271 | (offload_image): Likwise. | |
272 | (GOMP_OFFLOAD_load_image): Adjust call to offload_image(), change | |
273 | to return -1 on error. | |
274 | (GOMP_OFFLOAD_unload_image): Change return type to bool, adjust return | |
275 | code. | |
276 | (GOMP_OFFLOAD_alloc): Likewise. | |
277 | (GOMP_OFFLOAD_free): Likewise. | |
278 | (GOMP_OFFLOAD_host2dev): Likewise. | |
279 | (GOMP_OFFLOAD_dev2host): Likewise. | |
280 | (GOMP_OFFLOAD_dev2dev): Likewise. | |
281 | ||
23a80f4d IV |
282 | 2016-01-20 Ilya Verbin <ilya.verbin@intel.com> |
283 | ||
284 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_run): Pass extra NULL | |
285 | to GOMP_OFFLOAD_async_run. | |
286 | ||
b2b40051 | 287 | 2016-01-19 Martin Jambor <mjambor@suse.cz> |
23a80f4d | 288 | |
b2b40051 MJ |
289 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_async_run): New |
290 | unused parameter. | |
291 | (GOMP_OFFLOAD_run): Likewise. | |
292 | ||
d84ffc0a IV |
293 | 2015-12-14 Ilya Verbin <ilya.verbin@intel.com> |
294 | ||
295 | * plugin/libgomp-plugin-intelmic.cpp (unregister_main_image): Remove. | |
296 | (register_main_image): Do not call unregister_main_image at exit. | |
297 | (GOMP_OFFLOAD_fini_device): Allow for OpenMP. Unregister main image. | |
298 | ||
4219ddb3 IV |
299 | 2015-11-19 Ilya Verbin <ilya.verbin@intel.com> |
300 | ||
301 | * plugin/libgomp-plugin-intelmic.cpp (struct TargetImageDesc): New. | |
302 | (ImgDescMap): New typedef. | |
303 | (image_descriptors): New static var. | |
304 | (init): Allocate image_descriptors. | |
305 | (offload): Remove vars2 argument. Pass NULL to __offload_offload1 | |
306 | instead of vars2. | |
307 | (unregister_main_image): New static function. | |
308 | (register_main_image): Call unregister_main_image at exit. | |
309 | (GOMP_OFFLOAD_init_device): Print device number, fix offload args. | |
310 | (GOMP_OFFLOAD_fini_device): Likewise. | |
311 | (get_target_table): Remove vd1g and vd2g, don't pass them to offload. | |
312 | (offload_image): Remove declaration of the struct TargetImage. | |
313 | Free table. Insert new descriptor into image_descriptors. | |
314 | (GOMP_OFFLOAD_unload_image): Call __offload_unregister_image, free | |
315 | the corresponding descriptor, and remove it from address_table and | |
316 | image_descriptors. | |
317 | (GOMP_OFFLOAD_alloc): Print device number, remove vd1g. | |
318 | (GOMP_OFFLOAD_free): Likewise. | |
319 | (GOMP_OFFLOAD_host2dev): Print device number, remove vd1g and vd2g. | |
320 | (GOMP_OFFLOAD_dev2host): Likewise. | |
321 | (GOMP_OFFLOAD_run): Print device number, remove vd1g. | |
322 | * plugin/offload_target_main.cpp (__offload_target_table_p1): Remove | |
323 | vd2, don't pass it to __offload_target_enter. | |
324 | (__offload_target_table_p2): Likewise. | |
325 | (__offload_target_alloc): Likewise. | |
326 | (__offload_target_free): Likewise. | |
327 | (__offload_target_host2tgt_p1): Likewise. | |
328 | (__offload_target_host2tgt_p2): Likewise. | |
329 | (__offload_target_tgt2host_p1): Likewise. | |
330 | (__offload_target_tgt2host_p2): Likewise. | |
331 | (__offload_target_run): Likewise. | |
332 | (__offload_target_tgt2tgt): Remove vd1g, don't pass it to | |
333 | __offload_target_enter. | |
334 | ||
e4606348 JJ |
335 | 2015-11-14 Ilya Verbin <ilya.verbin@intel.com> |
336 | ||
337 | * runtime/offload_host.cpp (task_completion_callback): New | |
338 | variable. | |
339 | (offload_proxy_task_completed_ooo): Call task_completion_callback. | |
340 | (__offload_register_task_callback): New function. | |
341 | * runtime/offload_host.h (__offload_register_task_callback): New | |
342 | declaration. | |
343 | * plugin/libgomp-plugin-intelmic.cpp (offload): Add async_data | |
344 | argument, handle async offloading. | |
345 | (register_main_image): Call register_main_image. | |
346 | (GOMP_OFFLOAD_init_device, get_target_table, GOMP_OFFLOAD_alloc, | |
347 | GOMP_OFFLOAD_free, GOMP_OFFLOAD_host2dev, GOMP_OFFLOAD_dev2host, | |
4219ddb3 | 348 | GOMP_OFFLOAD_dev2dev): Adjust offload callers. |
e4606348 JJ |
349 | (GOMP_OFFLOAD_async_run): New function. |
350 | (GOMP_OFFLOAD_run): Implement using GOMP_OFFLOAD_async_run. | |
351 | ||
0b7c37ee IV |
352 | 2015-10-26 Ilya Verbin <ilya.verbin@intel.com> |
353 | Aleksander Ivanushenko <aleksander.ivanushenko@intel.com> | |
354 | ||
355 | * runtime/offload_host.cpp (OffloadDescriptor::setup_misc_data): Use | |
356 | calloc instead of malloc. | |
357 | (__offload_fini_library): Set mic_engines_total to zero. | |
358 | ||
d9a6bd32 JJ |
359 | 2015-10-13 Ilya Verbin <ilya.verbin@intel.com> |
360 | ||
361 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_dev2dev): New | |
362 | function. | |
363 | * plugin/offload_target_main.cpp (__offload_target_tgt2tgt): New | |
364 | static function, register it in liboffloadmic. | |
365 | ||
6fd2e66a IV |
366 | 2015-10-08 Ilya Verbin <ilya.verbin@intel.com> |
367 | ||
368 | * runtime/offload_engine.cpp (Engine::init_process): Use strdup instead | |
369 | of sizeof+malloc+sprintf, check for return value. | |
370 | * runtime/offload_env.cpp (MicEnvVar::get_env_var_kind): Check for | |
371 | strdup return value. | |
372 | * runtime/offload_host.cpp (__offload_init_library_once): Check for | |
373 | strdup return value. Fix size calculation of COI_HOST_THREAD_AFFINITY. | |
374 | * runtime/emulator/coi_device.cpp (COIProcessWaitForShutdown): Check for | |
375 | malloc return value. | |
376 | ||
44799f87 IV |
377 | 2015-09-29 Ilya Verbin <ilya.verbin@intel.com> |
378 | ||
379 | * plugin/libgomp-plugin-intelmic.cpp (OFFLOAD_ACTIVE_WAIT_ENV): New | |
380 | define. | |
381 | (init): Set OFFLOAD_ACTIVE_WAIT env var to 0, if it is not set. | |
382 | * runtime/emulator/coi_common.h (PIPE_HOST_PATH): Replace with ... | |
383 | (PIPE_HOST2TGT_NAME): ... this. | |
384 | (PIPE_TARGET_PATH): Replace with ... | |
385 | (PIPE_TGT2HOST_NAME): ... this. | |
386 | (MALLOCN): New define. | |
387 | (READN): Likewise. | |
388 | (WRITEN): Likewise. | |
389 | (enum cmd_t): Replace CMD_RUN_FUNCTION with CMD_PIPELINE_RUN_FUNCTION. | |
390 | Add CMD_PIPELINE_CREATE, CMD_PIPELINE_DESTROY. | |
391 | * runtime/emulator/coi_device.cpp (engine_dir): New static variable. | |
392 | (pipeline_thread_routine): New static function. | |
393 | (COIProcessWaitForShutdown): Use global engine_dir instead of mic_dir. | |
394 | Rename pipe_host and pipe_target to pipe_host2tgt and pipe_tgt2host. | |
395 | If cmd is CMD_PIPELINE_CREATE, create a new thread for the pipeline. | |
396 | Remove cmd == CMD_RUN_FUNCTION case. | |
397 | * runtime/emulator/coi_device.h (COIERRORN): New define. | |
398 | * runtime/emulator/coi_host.cpp: Include set, map, queue. | |
399 | Replace typedefs with enums and structs. | |
400 | (struct Function): Remove name, add num_buffers, bufs_size, | |
401 | bufs_data_target, misc_data_len, misc_data, return_value_len, | |
402 | return_value, completion_event. | |
403 | (struct Callback): New. | |
404 | (struct Process): Remove pipeline. Add pipe_host2tgt and pipe_tgt2host. | |
405 | (struct Pipeline): Remove pipe_host and pipe_target. Add thread, | |
406 | destroy, is_destroyed, pipe_host2tgt_path, pipe_tgt2host_path, | |
407 | pipe_host2tgt, pipe_tgt2host, queue, process. | |
408 | (max_pipeline_num): New static variable. | |
409 | (pipelines): Likewise. | |
410 | (max_event_num): Likewise. | |
411 | (non_signalled_events): Likewise. | |
412 | (errored_events): Likewise. | |
413 | (callbacks): Likewise. | |
414 | (cleanup): Do not check tmp_dirs before free. | |
415 | (start_critical_section): New static function. | |
416 | (finish_critical_section): Likewise. | |
417 | (pipeline_is_destroyed): Likewise. | |
418 | (maybe_invoke_callback): Likewise. | |
419 | (signal_event): Likewise. | |
420 | (get_event_result): Likewise. | |
421 | (COIBufferCopy): Rename arguments according to headers. Add asserts. | |
422 | Use process' main pipes, instead of pipeline's pipes. Signal completion | |
423 | event. | |
424 | (COIBufferCreate): Rename arguments according to headers. Add asserts. | |
425 | Use process' main pipes, instead of pipeline's pipes. | |
426 | (COIBufferCreateFromMemory): Rename arguments according to headers. | |
427 | Add asserts. | |
428 | (COIBufferDestroy): Rename arguments according to headers. Add asserts. | |
429 | Use process' main pipes, instead of pipeline's pipes. | |
430 | (COIBufferGetSinkAddress): Rename arguments according to headers. | |
431 | Add asserts. | |
432 | (COIBufferMap): Rename arguments according to headers. Add asserts. | |
433 | Signal completion event. | |
434 | (COIBufferRead): Likewise. | |
435 | (COIBufferSetState): Likewise. | |
436 | (COIBufferUnmap): Likewise. | |
437 | (COIBufferWrite): Likewise. | |
438 | (COIEngineGetCount): Add assert. | |
439 | (COIEngineGetHandle): Rename arguments according to headers. | |
440 | Add assert. | |
441 | (COIEventWait): Rename arguments according to headers. Add asserts. | |
442 | Implement waiting for events with zero or infinite timeout. | |
443 | (COIEventRegisterCallback): New function. | |
444 | (pipeline_thread_routine): New static function. | |
445 | (COIPipelineCreate): Create a new thread for the pipeline. | |
446 | (COIPipelineDestroy): Exit pipeline thread. | |
447 | (COIPipelineRunFunction): Add the function into pipeline's queue, | |
448 | instead running it here. Wait for it's completion in case of | |
449 | synchronous execution. | |
450 | (COIProcessCreateFromMemory): Rename arguments according to headers. | |
451 | Add asserts. Create process' main pipes, instead of pipeline's pipes. | |
452 | (COIProcessDestroy): Rename arguments according to headers. | |
453 | Add asserts. Destroy all undestroyed pipelines. | |
454 | (COIProcessGetFunctionHandles): Rename arguments according to headers. | |
455 | Add asserts. Use process' main pipes, instead of pipeline's pipes. | |
456 | Remove useless function names. | |
457 | (COIProcessLoadLibraryFromMemory): Add asserts. Use process' main | |
458 | pipes, instead of pipeline's pipes. | |
459 | (COIProcessUnloadLibrary): Likewise. | |
460 | (COIEngineGetInfo): Add assert. | |
461 | * runtime/emulator/coi_host.h (COIERRORN): New define. | |
462 | ||
db7b65ff IV |
463 | 2015-09-28 Ilya Verbin <ilya.verbin@intel.com> |
464 | ||
465 | PR other/67652 | |
466 | * runtime/offload_engine.cpp (Engine::init_process): Fix sizeof. | |
467 | ||
2eab9666 IV |
468 | 2015-09-08 Ilya Verbin <ilya.verbin@intel.com> |
469 | ||
470 | * Makefile.am (liboffloadmic_host_la_DEPENDENCIES): Remove libcoi_host | |
471 | and libmyo-client. liboffloadmic_host loads them dynamically. | |
472 | * Makefile.in: Regenerate. | |
473 | * doc/doxygen/header.tex: Merge from upstream, version 20150803 | |
474 | <https://openmprtl.org/sites/default/files/liboffload_oss_20150803.tgz>. | |
475 | * runtime/cean_util.cpp: Likewise. | |
476 | * runtime/cean_util.h: Likewise. | |
477 | * runtime/coi/coi_client.cpp: Likewise. | |
478 | * runtime/coi/coi_client.h: Likewise. | |
479 | * runtime/coi/coi_server.cpp: Likewise. | |
480 | * runtime/coi/coi_server.h: Likewise. | |
481 | * runtime/compiler_if_host.cpp: Likewise. | |
482 | * runtime/compiler_if_host.h: Likewise. | |
483 | * runtime/compiler_if_target.cpp: Likewise. | |
484 | * runtime/compiler_if_target.h: Likewise. | |
485 | * runtime/dv_util.cpp: Likewise. | |
486 | * runtime/dv_util.h: Likewise. | |
487 | * runtime/liboffload_error.c: Likewise. | |
488 | * runtime/liboffload_error_codes.h: Likewise. | |
489 | * runtime/liboffload_msg.c: Likewise. | |
490 | * runtime/liboffload_msg.h: Likewise. | |
491 | * runtime/mic_lib.f90: Likewise. | |
492 | * runtime/offload.h: Likewise. | |
493 | * runtime/offload_common.cpp: Likewise. | |
494 | * runtime/offload_common.h: Likewise. | |
495 | * runtime/offload_engine.cpp: Likewise. | |
496 | * runtime/offload_engine.h: Likewise. | |
497 | * runtime/offload_env.cpp: Likewise. | |
498 | * runtime/offload_env.h: Likewise. | |
499 | * runtime/offload_host.cpp: Likewise. | |
500 | * runtime/offload_host.h: Likewise. | |
501 | * runtime/offload_iterator.h: Likewise. | |
502 | * runtime/offload_myo_host.cpp: Likewise. | |
503 | * runtime/offload_myo_host.h: Likewise. | |
504 | * runtime/offload_myo_target.cpp: Likewise. | |
505 | * runtime/offload_myo_target.h: Likewise. | |
506 | * runtime/offload_omp_host.cpp: Likewise. | |
507 | * runtime/offload_omp_target.cpp: Likewise. | |
508 | * runtime/offload_orsl.cpp: Likewise. | |
509 | * runtime/offload_orsl.h: Likewise. | |
510 | * runtime/offload_table.cpp: Likewise. | |
511 | * runtime/offload_table.h: Likewise. | |
512 | * runtime/offload_target.cpp: Likewise. | |
513 | * runtime/offload_target.h: Likewise. | |
514 | * runtime/offload_target_main.cpp: Likewise. | |
515 | * runtime/offload_timer.h: Likewise. | |
516 | * runtime/offload_timer_host.cpp: Likewise. | |
517 | * runtime/offload_timer_target.cpp: Likewise. | |
518 | * runtime/offload_trace.cpp: Likewise. | |
519 | * runtime/offload_trace.h: Likewise. | |
520 | * runtime/offload_util.cpp: Likewise. | |
521 | * runtime/offload_util.h: Likewise. | |
522 | * runtime/ofldbegin.cpp: Likewise. | |
523 | * runtime/ofldend.cpp: Likewise. | |
524 | * runtime/orsl-lite/include/orsl-lite.h: Likewise. | |
525 | * runtime/orsl-lite/lib/orsl-lite.c: Likewise. | |
526 | * runtime/use_mpss2.txt: Likewise. | |
527 | * include/coi/common/COIEngine_common.h: Merge from upstream, MPSS | |
528 | version 3.5 | |
529 | <http://registrationcenter.intel.com/irc_nas/7445/mpss-src-3.5.tar>. | |
530 | * include/coi/common/COIEvent_common.h: Likewise. | |
531 | * include/coi/common/COIMacros_common.h: Likewise. | |
532 | * include/coi/common/COIPerf_common.h: Likewise. | |
533 | * include/coi/common/COIResult_common.h: Likewise. | |
534 | * include/coi/common/COISysInfo_common.h: Likewise. | |
535 | * include/coi/common/COITypes_common.h: Likewise. | |
536 | * include/coi/sink/COIBuffer_sink.h: Likewise. | |
537 | * include/coi/sink/COIPipeline_sink.h: Likewise. | |
538 | * include/coi/sink/COIProcess_sink.h: Likewise. | |
539 | * include/coi/source/COIBuffer_source.h: Likewise. | |
540 | * include/coi/source/COIEngine_source.h: Likewise. | |
541 | * include/coi/source/COIEvent_source.h: Likewise. | |
542 | * include/coi/source/COIPipeline_source.h: Likewise. | |
543 | * include/coi/source/COIProcess_source.h: Likewise. | |
544 | * include/myo/myo.h: Likewise. | |
545 | * include/myo/myoimpl.h: Likewise. | |
546 | * include/myo/myotypes.h: Likewise. | |
547 | * plugin/Makefile.am (myo_inc_dir): Remove. | |
548 | (libgomp_plugin_intelmic_la_CPPFLAGS): Do not define MYO_SUPPORT. | |
549 | (AM_CPPFLAGS): Likewise for offload_target_main. | |
550 | * plugin/Makefile.in: Regenerate. | |
551 | * runtime/emulator/coi_common.h: Update copyright years. | |
552 | (OFFLOAD_EMUL_KNC_NUM_ENV): Replace with ... | |
553 | (OFFLOAD_EMUL_NUM_ENV): ... this. | |
554 | (enum cmd_t): Add CMD_CLOSE_LIBRARY. | |
555 | * runtime/emulator/coi_device.cpp: Update copyright years. | |
556 | (COIProcessWaitForShutdown): Add space between string constants. | |
557 | Return handle to host in CMD_OPEN_LIBRARY. | |
558 | Support CMD_CLOSE_LIBRARY. | |
559 | * runtime/emulator/coi_device.h: Update copyright years. | |
560 | * runtime/emulator/coi_host.cpp: Update copyright years. | |
561 | (knc_engines_num): Replace with ... | |
562 | (num_engines): ... this. | |
563 | (init): Replace OFFLOAD_EMUL_KNC_NUM_ENV with OFFLOAD_EMUL_NUM_ENV. | |
564 | (COIEngineGetCount): Replace COI_ISA_KNC with COI_ISA_MIC, and | |
565 | knc_engines_num with num_engines. | |
566 | (COIEngineGetHandle): Likewise. | |
567 | (COIProcessCreateFromMemory): Add space between string constants. | |
568 | (COIProcessCreateFromFile): New function. | |
569 | (COIProcessLoadLibraryFromMemory): Rename arguments according to | |
570 | COIProcess_source.h. Return handle, received from target. | |
571 | (COIProcessUnloadLibrary): New function. | |
572 | (COIPipelineClearCPUMask): New function. | |
573 | (COIPipelineSetCPUMask): New function. | |
574 | (COIEngineGetInfo): New function. | |
575 | * runtime/emulator/coi_host.h: Update copyright years. | |
576 | * runtime/emulator/coi_version_asm.h: Regenerate. | |
577 | * runtime/emulator/coi_version_linker_script.map: Regenerate. | |
578 | * runtime/emulator/myo_client.cpp: Update copyright years. | |
579 | * runtime/emulator/myo_service.cpp: Update copyright years. | |
580 | (myoArenaRelease): New function. | |
581 | (myoArenaAcquire): New function. | |
582 | (myoArenaAlignedFree): New function. | |
583 | (myoArenaAlignedMalloc): New function. | |
584 | * runtime/emulator/myo_service.h: Update copyright years. | |
585 | * runtime/emulator/myo_version_asm.h: Regenerate. | |
586 | * runtime/emulator/myo_version_linker_script.map: Regenerate. | |
587 | ||
2a21ff19 NS |
588 | 2015-08-24 Nathan Sidwell <nathan@codesourcery.com> |
589 | ||
590 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_version): New. | |
591 | (GOMP_OFFLOAD_load_image): Add version arg and check it. | |
592 | (GOMP_OFFLOAD_unload_image): Likewise. | |
593 | ||
8e87588a TS |
594 | 2015-08-24 Thomas Schwinge <thomas@codesourcery.com> |
595 | ||
596 | * plugin/Makefile.am (include_src_dir): Set. | |
597 | [PLUGIN_HOST] (libgomp_plugin_intelmic_la_CPPFLAGS): Use it. | |
598 | * plugin/Makefile.in: Regenerate. | |
599 | * plugin/libgomp-plugin-intelmic.cpp: Include "gomp-constants.h". | |
600 | ||
6b1786aa JL |
601 | 2015-07-24 Micahel Darling <darlingm@gmail.com> |
602 | ||
603 | PR other/66259 | |
604 | * configure: Reflects renaming of configure.in to configure.ac | |
605 | ||
afb2d80b | 606 | 2015-07-17 Nathan Sidwell <nathan@acm.org> |
2eab9666 | 607 | Ilya Verbin <ilya.verbin@intel.com> |
afb2d80b NS |
608 | |
609 | * plugin/libgomp-plugin-intelmic.cpp (ImgDevAddrMap): Constify. | |
610 | (offload_image, GOMP_OFFLOAD_load_image, | |
2eab9666 | 611 | GOMP_OFFLOAD_unload_image): Constify target data. |
afb2d80b | 612 | |
bb927664 TS |
613 | 2015-07-08 Thomas Schwinge <thomas@codesourcery.com> |
614 | ||
615 | * plugin/Makefile.am (main_target_image.h): Change type of data | |
616 | member of struct MainTargetImage to uint8_t. | |
617 | * plugin/Makefile.in: Regenerate. | |
618 | ||
735aacba MH |
619 | 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com> |
620 | ||
621 | * Makefile.in: Regenerated with automake-1.11.6. | |
622 | * aclocal.m4: Likewise. | |
623 | * configure: Likewise. | |
624 | * plugin/Makefile.in: Likewise. | |
625 | * plugin/aclocal.m4: Likewise. | |
626 | * plugin/configure: Likewise. | |
627 | ||
a51df54e IV |
628 | 2015-04-06 Ilya Verbin <ilya.verbin@intel.com> |
629 | ||
630 | * plugin/libgomp-plugin-intelmic.cpp: Include map. | |
631 | (AddrVect, DevAddrVect, ImgDevAddrMap): New typedefs. | |
632 | (num_devices, num_images, address_table): New static vars. | |
633 | (num_libraries, lib_descrs): Remove static vars. | |
634 | (set_mic_lib_path): Rename to ... | |
635 | (init): ... this. Allocate address_table and get num_devices. | |
636 | (GOMP_OFFLOAD_get_num_devices): return num_devices. | |
637 | (load_lib_and_get_table): Remove static function. | |
638 | (offload_image): New static function. | |
639 | (GOMP_OFFLOAD_get_table): Remove function. | |
640 | (GOMP_OFFLOAD_load_image, GOMP_OFFLOAD_unload_image): New functions. | |
641 | ||
41dbbb37 TS |
642 | 2015-01-15 Thomas Schwinge <thomas@codesourcery.com> |
643 | ||
644 | * plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_get_name) | |
645 | (GOMP_OFFLOAD_get_caps, GOMP_OFFLOAD_fini_device): New functions. | |
646 | ||
9d73ec14 IV |
647 | 2014-11-13 Ilya Verbin <ilya.verbin@intel.com> |
648 | Andrey Turetskiy <andrey.turetskiy@intel.com> | |
649 | ||
650 | * Makefile.in: Regenerate. | |
651 | * configure: Regenerate. | |
652 | * configure.ac: Add subdirectory 'plugin'. | |
653 | * plugin/Makefile.am: New file. | |
654 | * plugin/Makefile.in: New file, generated by automake. | |
655 | * plugin/aclocal.m4: New file, generated by aclocal. | |
656 | * plugin/configure: New file, generated by autoconf. | |
657 | * plugin/configure.ac: New file. | |
658 | * plugin/libgomp-plugin-intelmic.cpp: New file. | |
659 | * plugin/offload_target_main.cpp: New file. | |
660 | ||
5f520819 KY |
661 | 2014-11-13 Kirill Yukhin <kirill.yukhin@intel.com> |
662 | ||
663 | Initial commit. Imported from upstream: | |
664 | https://www.openmprtl.org/sites/default/files/liboffload_oss.tgz | |
665 | * Makefile.am: New file. | |
666 | * Makefile.in: New file, generated by automake. | |
667 | * aclocal.m4: New file, generated by aclocal. | |
668 | * configure: New file, generated by autoconf. | |
669 | * configure.ac: New file. | |
670 | * configure.tgt: Ditto. | |
671 | * doc/doxygen/config: Ditto. | |
672 | * doc/doxygen/header.tex: Ditto. | |
673 | * include/coi/common/COIEngine_common.h: Ditto. | |
674 | * include/coi/common/COIMacros_common.h: Ditto. | |
675 | * include/coi/common/COIPerf_common.h : Ditto. | |
676 | * include/coi/common/COIResult_common.h : Ditto. | |
677 | * include/coi/common/COITypes_common.h: Ditto. | |
678 | * include/coi/sink/COIBuffer_sink.h: Ditto. | |
679 | * include/coi/sink/COIPipeline_sink.h: Ditto. | |
680 | * include/coi/sink/COIProcess_sink.h: Ditto. | |
681 | * include/coi/source/COIBuffer_source.h: Ditto. | |
682 | * include/coi/source/COIEngine_source.h: Ditto. | |
683 | * include/coi/source/COIEvent_source.h: Ditto. | |
684 | * include/coi/source/COIPipeline_source.h: Ditto. | |
685 | * include/coi/source/COIProcess_source.h: Ditto. | |
686 | * include/myo/myo.h: Ditto. | |
687 | * include/myo/myoimpl.h: Ditto. | |
688 | * include/myo/myotypes.h: Ditto. | |
689 | * liboffloadmic_host.spec.in: Ditto. | |
690 | * liboffloadmic_target.spec.in: Ditto. | |
691 | * runtime/cean_util.cpp: Ditto. | |
692 | * runtime/cean_util.h: Ditto. | |
693 | * runtime/coi/coi_client.cpp: Ditto. | |
694 | * runtime/coi/coi_client.h: Ditto. | |
695 | * runtime/coi/coi_server.cpp: Ditto. | |
696 | * runtime/coi/coi_server.h: Ditto. | |
697 | * runtime/compiler_if_host.cpp: Ditto. | |
698 | * runtime/compiler_if_host.h: Ditto. | |
699 | * runtime/compiler_if_target.cpp: Ditto. | |
700 | * runtime/compiler_if_target.h: Ditto. | |
701 | * runtime/dv_util.cpp: Ditto. | |
702 | * runtime/dv_util.h: Ditto. | |
703 | * runtime/emulator/coi_common.h: Ditto. | |
704 | * runtime/emulator/coi_device.cpp: Ditto. | |
705 | * runtime/emulator/coi_device.h: Ditto. | |
706 | * runtime/emulator/coi_host.cpp: Ditto. | |
707 | * runtime/emulator/coi_host.h: Ditto. | |
708 | * runtime/emulator/coi_version_asm.h: Ditto. | |
709 | * runtime/emulator/coi_version_linker_script.map: Ditto. | |
710 | * runtime/emulator/myo_client.cpp: Ditto. | |
711 | * runtime/emulator/myo_service.cpp: Ditto. | |
712 | * runtime/emulator/myo_service.h: Ditto. | |
713 | * runtime/emulator/myo_version_asm.h: Ditto. | |
714 | * runtime/emulator/myo_version_linker_script.map: Ditto. | |
715 | * runtime/liboffload_error.c: Ditto. | |
716 | * runtime/liboffload_error_codes.h: Ditto. | |
717 | * runtime/liboffload_msg.c: Ditto. | |
718 | * runtime/liboffload_msg.h: Ditto. | |
719 | * runtime/mic_lib.f90: Ditto. | |
720 | * runtime/offload.h: Ditto. | |
721 | * runtime/offload_common.cpp: Ditto. | |
722 | * runtime/offload_common.h: Ditto. | |
723 | * runtime/offload_engine.cpp: Ditto. | |
724 | * runtime/offload_engine.h: Ditto. | |
725 | * runtime/offload_env.cpp: Ditto. | |
726 | * runtime/offload_env.h: Ditto. | |
727 | * runtime/offload_host.cpp: Ditto. | |
728 | * runtime/offload_host.h: Ditto. | |
729 | * runtime/offload_myo_host.cpp: Ditto. | |
730 | * runtime/offload_myo_host.h: Ditto. | |
731 | * runtime/offload_myo_target.cpp: Ditto. | |
732 | * runtime/offload_myo_target.h: Ditto. | |
733 | * runtime/offload_omp_host.cpp: Ditto. | |
734 | * runtime/offload_omp_target.cpp: Ditto. | |
735 | * runtime/offload_orsl.cpp: Ditto. | |
736 | * runtime/offload_orsl.h: Ditto. | |
737 | * runtime/offload_table.cpp: Ditto. | |
738 | * runtime/offload_table.h: Ditto. | |
739 | * runtime/offload_target.cpp: Ditto. | |
740 | * runtime/offload_target.h: Ditto. | |
741 | * runtime/offload_target_main.cpp: Ditto. | |
742 | * runtime/offload_timer.h: Ditto. | |
743 | * runtime/offload_timer_host.cpp: Ditto. | |
744 | * runtime/offload_timer_target.cpp: Ditto. | |
745 | * runtime/offload_trace.cpp: Ditto. | |
746 | * runtime/offload_trace.h: Ditto. | |
747 | * runtime/offload_util.cpp: Ditto. | |
748 | * runtime/offload_util.h: Ditto. | |
749 | * runtime/ofldbegin.cpp: Ditto. | |
750 | * runtime/ofldend.cpp: Ditto. | |
751 | * runtime/orsl-lite/include/orsl-lite.h: Ditto. | |
752 | * runtime/orsl-lite/lib/orsl-lite.c: Ditto. | |
753 | * runtime/orsl-lite/version.txt: Ditto. | |
754 | * runtime/use_mpss2.txt: Ditto. | |
dced339c | 755 | \f |
85ec4feb | 756 | Copyright (C) 2014-2018 Free Software Foundation, Inc. |
dced339c TS |
757 | |
758 | Copying and distribution of this file, with or without modification, | |
759 | are permitted in any medium without royalty provided the copyright | |
760 | notice and this notice are preserved. |