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