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