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