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