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