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