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