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