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