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