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