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