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