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