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