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