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