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