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