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