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