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