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