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