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