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