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