df26a50d0d
Merge liboffloadmic from upstream liboffloadmic/ * Makefile.am (myo_inc_dir): Remove. (toolexeclib_LTLIBRARIES): Remove libmyo-client.la and libmyo-service.la. (liboffloadmic_cppflags): Remove -DMYO_SUPPORT. (liboffloadmic_host_la_SOURCES): Remove offload_myo_host.cpp. (liboffloadmic_target_la_SOURCES): Remove offload_myo_target.cpp. (liboffloadmic_target_la_LIBADD): Remove libmyo-service.la. (libmyo_client_la_SOURCES, libmyo_service_la_SOURCES): Remove. (libmyo_client_la_DEPENDENCIES, libmyo_service_la_DEPENDENCIES): Remove. (libmyo_client_la_CPPFLAGS, libmyo_service_la_CPPFLAGS): Remove. (libmyo_client_la_LDFLAGS, libmyo_service_la_LDFLAGS): Remove. * Makefile.in: Regenerate. * doc/doxygen/header.tex: Merge from upstream, version 20160715 <https://openmprtl.org/sites/default/files/liboffload_oss_20160715.tgz>. * runtime/cean_util.cpp: Likewise. * runtime/cean_util.h: Likewise. * runtime/coi/coi_client.cpp: Likewise. * runtime/coi/coi_client.h: Likewise. * runtime/coi/coi_server.cpp: Likewise. * runtime/coi/coi_server.h: Likewise. * runtime/compiler_if_host.cpp: Likewise. * runtime/compiler_if_host.h: Likewise. * runtime/compiler_if_target.cpp: Likewise. * runtime/compiler_if_target.h: Likewise. * runtime/dv_util.cpp: Likewise. * runtime/dv_util.h: Likewise. * runtime/liboffload_error.c: Likewise. * runtime/liboffload_error_codes.h: Likewise. * runtime/liboffload_msg.c: Likewise. * runtime/liboffload_msg.h: Likewise. * runtime/mic_lib.f90: Likewise. * runtime/offload.h: Likewise. * runtime/offload_common.cpp: Likewise. * runtime/offload_common.h: Likewise. * runtime/offload_engine.cpp: Likewise. * runtime/offload_engine.h: Likewise. * runtime/offload_env.cpp: Likewise. * runtime/offload_env.h: Likewise. * runtime/offload_host.cpp: Likewise. * runtime/offload_host.h: Likewise. * runtime/offload_iterator.h: Likewise. * runtime/offload_myo_host.cpp: Likewise. * runtime/offload_myo_host.h: Likewise. * runtime/offload_myo_target.cpp: Likewise. * runtime/offload_myo_target.h: Likewise. * runtime/offload_omp_host.cpp: Likewise. * runtime/offload_omp_target.cpp: Likewise. * runtime/offload_orsl.cpp: Likewise. * runtime/offload_orsl.h: Likewise. * runtime/offload_table.cpp: Likewise. * runtime/offload_table.h: Likewise. * runtime/offload_target.cpp: Likewise. * runtime/offload_target.h: Likewise. * runtime/offload_target_main.cpp: Likewise. * runtime/offload_timer.h: Likewise. * runtime/offload_timer_host.cpp: Likewise. * runtime/offload_timer_target.cpp: Likewise. * runtime/offload_trace.cpp: Likewise. * runtime/offload_trace.h: Likewise. * runtime/offload_util.cpp: Likewise. * runtime/offload_util.h: Likewise. * runtime/ofldbegin.cpp: Likewise. * runtime/ofldend.cpp: Likewise. * runtime/orsl-lite/include/orsl-lite.h: Likewise. * runtime/orsl-lite/lib/orsl-lite.c: Likewise. * runtime/use_mpss2.txt: Remove. * include/coi/common/COIEngine_common.h: Merge from upstream, MPSS version 3.7.1 <http://registrationcenter-download.intel.com/akdlm/irc_nas/9226/ mpss-3.7.1-linux.tar>. * include/coi/common/COIEvent_common.h: Likewise. * include/coi/common/COIMacros_common.h: Likewise. * include/coi/common/COIPerf_common.h: Likewise. * include/coi/common/COIResult_common.h: Likewise. * include/coi/common/COISysInfo_common.h: Likewise. * include/coi/common/COITypes_common.h: Likewise. * include/coi/sink/COIBuffer_sink.h: Likewise. * include/coi/sink/COIPipeline_sink.h: Likewise. * include/coi/sink/COIProcess_sink.h: Likewise. * include/coi/source/COIBuffer_source.h: Likewise. * include/coi/source/COIEngine_source.h: Likewise. * include/coi/source/COIEvent_source.h: Likewise. * include/coi/source/COIPipeline_source.h: Likewise. * include/coi/source/COIProcess_source.h: Likewise. * include/myo/myo.h: Remove. * include/myo/myoimpl.h: Remove. * include/myo/myotypes.h: Remove. * plugin/Makefile.am (AM_LDFLAGS): Remove -lmyo-service. * plugin/Makefile.in: Regenerate. * plugin/libgomp-plugin-intelmic.cpp (LD_LIBRARY_PATH_ENV): Remove. (MIC_LD_LIBRARY_PATH_ENV): Remove. (init): Do not set MIC_LD_LIBRARY_PATH. Now liboffloadmic uses only LD_LIBRARY_PATH. * plugin/offload_target_main.cpp: Update copyright years. * runtime/emulator/coi_common.h: Likewise. * runtime/emulator/coi_device.cpp: Likewise. * runtime/emulator/coi_device.h: Likewise. * runtime/emulator/coi_host.cpp: Likewise. (COIBufferCreate): Allow COI_BUFFER_OPENCL. (COIEngineGetInfo): Return COI_DEVICE_KNL instead of COI_ISA_x86_64. * runtime/emulator/coi_host.h: Update copyright years. * runtime/emulator/coi_version_asm.h: Likewise. * runtime/emulator/coi_version_linker_script.map: Likewise. * runtime/emulator/myo_client.cpp: Remove. * runtime/emulator/myo_service.cpp: Remove. * runtime/emulator/myo_service.h: Remove. * runtime/emulator/myo_version_asm.h: Remove. * runtime/emulator/myo_version_linker_script.map: Remove. From-SVN: r238603
417 lines
25 KiB
C
417 lines
25 KiB
C
/*
|
|
Copyright (c) 2014-2016 Intel Corporation. All Rights Reserved.
|
|
|
|
Redistribution and use in source and binary forms, with or without
|
|
modification, are permitted provided that the following conditions
|
|
are met:
|
|
|
|
* Redistributions of source code must retain the above copyright
|
|
notice, this list of conditions and the following disclaimer.
|
|
* Redistributions in binary form must reproduce the above copyright
|
|
notice, this list of conditions and the following disclaimer in the
|
|
documentation and/or other materials provided with the distribution.
|
|
* Neither the name of Intel Corporation nor the names of its
|
|
contributors may be used to endorse or promote products derived
|
|
from this software without specific prior written permission.
|
|
|
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
|
|
// file: liboffload_msg.h
|
|
enum {
|
|
__dummy__ = 0,
|
|
msg_c_device_is_not_available,
|
|
msg_c_invalid_device_number,
|
|
msg_c_send_func_ptr,
|
|
msg_c_receive_func_ptr,
|
|
msg_c_malloc,
|
|
msg_c_unknown_mic_device_type,
|
|
msg_c_offload_malloc,
|
|
msg_c_offload1,
|
|
msg_c_unknown_var_type,
|
|
msg_c_invalid_env_var_value,
|
|
msg_c_invalid_env_var_int_value,
|
|
msg_c_invalid_env_report_value,
|
|
msg_c_offload_signaled1,
|
|
msg_c_offload_signaled2,
|
|
msg_c_myowrapper_checkresult,
|
|
msg_c_myotarget_checkresult,
|
|
msg_c_offload_descriptor_offload,
|
|
msg_c_merge_var_descs1,
|
|
msg_c_merge_var_descs2,
|
|
msg_c_mic_parse_env_var_list1,
|
|
msg_c_mic_parse_env_var_list2,
|
|
msg_c_mic_process_exit_ret,
|
|
msg_c_mic_process_exit_sig,
|
|
msg_c_mic_process_exit,
|
|
msg_c_mic_init3,
|
|
msg_c_mic_init4,
|
|
msg_c_mic_init5,
|
|
msg_c_mic_init6,
|
|
msg_c_mic_init7,
|
|
msg_c_mic_init8,
|
|
msg_c_mic_init9,
|
|
msg_c_mic_init10,
|
|
msg_c_mic_init11,
|
|
msg_c_no_static_var_data,
|
|
msg_c_no_ptr_data,
|
|
msg_c_get_engine_handle,
|
|
msg_c_get_engine_index,
|
|
msg_c_process_create,
|
|
msg_c_process_set_cache_size,
|
|
msg_c_process_get_func_handles,
|
|
msg_c_process_wait_shutdown,
|
|
msg_c_process_proxy_flush,
|
|
msg_c_load_library,
|
|
msg_c_pipeline_create,
|
|
msg_c_pipeline_run_func,
|
|
msg_c_pipeline_start_run_funcs,
|
|
msg_c_buf_create,
|
|
msg_c_buf_create_out_of_mem,
|
|
msg_c_buf_create_from_mem,
|
|
msg_c_buf_destroy,
|
|
msg_c_buf_map,
|
|
msg_c_buf_unmap,
|
|
msg_c_buf_read,
|
|
msg_c_buf_write,
|
|
msg_c_buf_copy,
|
|
msg_c_buf_get_address,
|
|
msg_c_buf_add_ref,
|
|
msg_c_buf_release_ref,
|
|
msg_c_buf_set_state,
|
|
msg_c_event_wait,
|
|
msg_c_zero_or_neg_ptr_len,
|
|
msg_c_zero_or_neg_transfer_size,
|
|
msg_c_bad_ptr_mem_alloc,
|
|
msg_c_bad_ptr_mem_range,
|
|
msg_c_different_src_and_dstn_sizes,
|
|
msg_c_non_contiguous_dope_vector,
|
|
msg_c_omp_invalid_device_num_env,
|
|
msg_c_omp_invalid_device_num,
|
|
msg_c_unknown_binary_type,
|
|
msg_c_multiple_target_exes,
|
|
msg_c_no_target_exe,
|
|
msg_c_report_unknown_timer_node,
|
|
msg_c_report_unknown_trace_node,
|
|
msg_c_incorrect_affinity,
|
|
msg_c_cannot_set_affinity,
|
|
msg_c_mixed_versions,
|
|
msg_c_report_host,
|
|
msg_c_report_mic,
|
|
msg_c_report_title,
|
|
msg_c_report_seconds,
|
|
msg_c_report_bytes,
|
|
msg_c_report_cpu_time,
|
|
msg_c_report_mic_time,
|
|
msg_c_report_tag,
|
|
msg_c_report_from_file,
|
|
msg_c_report_file,
|
|
msg_c_report_line,
|
|
msg_c_report_cpu_to_mic_data,
|
|
msg_c_report_mic_to_cpu_data,
|
|
msg_c_report_offload,
|
|
msg_c_report_w_tag,
|
|
msg_c_report_state,
|
|
msg_c_report_start,
|
|
msg_c_report_init,
|
|
msg_c_report_logical_card,
|
|
msg_c_report_physical_card,
|
|
msg_c_report_register,
|
|
msg_c_report_init_func,
|
|
msg_c_report_create_buf_host,
|
|
msg_c_report_create_buf_mic,
|
|
msg_c_report_send_pointer_data,
|
|
msg_c_report_sent_pointer_data,
|
|
msg_c_report_gather_copyin_data,
|
|
msg_c_report_copyin_data,
|
|
msg_c_report_state_signal,
|
|
msg_c_report_signal,
|
|
msg_c_report_wait,
|
|
msg_c_report_compute,
|
|
msg_c_report_receive_pointer_data,
|
|
msg_c_report_received_pointer_data,
|
|
msg_c_report_start_target_func,
|
|
msg_c_report_var,
|
|
msg_c_report_scatter_copyin_data,
|
|
msg_c_report_gather_copyout_data,
|
|
msg_c_report_scatter_copyout_data,
|
|
msg_c_report_copyout_data,
|
|
msg_c_report_unregister,
|
|
msg_c_report_destroy,
|
|
msg_c_report_myoinit,
|
|
msg_c_report_myoregister,
|
|
msg_c_report_myofini,
|
|
msg_c_report_mic_myo_shared,
|
|
msg_c_report_mic_myo_fptr,
|
|
msg_c_report_myosharedmalloc,
|
|
msg_c_report_myosharedfree,
|
|
msg_c_report_myosharedalignedmalloc,
|
|
msg_c_report_myosharedalignedfree,
|
|
msg_c_report_myoacquire,
|
|
msg_c_report_myorelease,
|
|
msg_c_report_myosupportsfeature,
|
|
msg_c_report_myosharedarenacreate,
|
|
msg_c_report_myosharedalignedarenamalloc,
|
|
msg_c_report_myosharedalignedarenafree,
|
|
msg_c_report_myoarenaacquire,
|
|
msg_c_report_myoarenarelease,
|
|
msg_c_report_host_total_offload_time,
|
|
msg_c_report_host_initialize,
|
|
msg_c_report_host_target_acquire,
|
|
msg_c_report_host_wait_deps,
|
|
msg_c_report_host_setup_buffers,
|
|
msg_c_report_host_alloc_buffers,
|
|
msg_c_report_host_setup_misc_data,
|
|
msg_c_report_host_alloc_data_buffer,
|
|
msg_c_report_host_send_pointers,
|
|
msg_c_report_host_gather_inputs,
|
|
msg_c_report_host_map_in_data_buffer,
|
|
msg_c_report_host_unmap_in_data_buffer,
|
|
msg_c_report_host_start_compute,
|
|
msg_c_report_host_wait_compute,
|
|
msg_c_report_host_start_buffers_reads,
|
|
msg_c_report_host_scatter_outputs,
|
|
msg_c_report_host_map_out_data_buffer,
|
|
msg_c_report_host_unmap_out_data_buffer,
|
|
msg_c_report_host_wait_buffers_reads,
|
|
msg_c_report_host_destroy_buffers,
|
|
msg_c_report_target_total_time,
|
|
msg_c_report_target_descriptor_setup,
|
|
msg_c_report_target_func_lookup,
|
|
msg_c_report_target_func_time,
|
|
msg_c_report_target_scatter_inputs,
|
|
msg_c_report_target_add_buffer_refs,
|
|
msg_c_report_target_compute,
|
|
msg_c_report_target_gather_outputs,
|
|
msg_c_report_target_release_buffer_refs,
|
|
msg_c_coi_pipeline_max_number,
|
|
msg_c_ranges_dont_match,
|
|
msg_c_destination_is_over,
|
|
msg_c_slice_of_noncont_array,
|
|
msg_c_pointer_array_mismatch,
|
|
msg_c_in_with_preallocated,
|
|
msg_c_report_no_host_exe,
|
|
msg_c_report_no_target_exe,
|
|
msg_c_report_path_buff_overflow,
|
|
msg_c_create_pipeline_for_stream,
|
|
msg_c_offload_no_stream,
|
|
msg_c_offload_device_doesnt_match_to_stream,
|
|
msg_c_offload_streams_are_absent,
|
|
msg_c_get_engine_info,
|
|
msg_c_clear_cpu_mask,
|
|
msg_c_set_cpu_mask,
|
|
msg_c_report_state_stream,
|
|
msg_c_report_stream,
|
|
msg_c_unload_library,
|
|
msg_c_target_myo_library,
|
|
msg_c_myo_dl_sym,
|
|
msg_c_bad_myo_free,
|
|
lastMsg = 187,
|
|
firstMsg = 1
|
|
};
|
|
|
|
|
|
#if !defined(MESSAGE_TABLE_NAME)
|
|
# define MESSAGE_TABLE_NAME __liboffload_message_table
|
|
#endif
|
|
|
|
static char const * MESSAGE_TABLE_NAME[] = {
|
|
/* 0 __dummy__ */ "Un-used message",
|
|
/* 1 msg_c_device_is_not_available */ "offload error: cannot offload to MIC - device is not available",
|
|
/* 2 msg_c_invalid_device_number */ "offload error: expected a number greater than or equal to -1",
|
|
/* 3 msg_c_send_func_ptr */ "offload error: cannot find function name for address %p",
|
|
/* 4 msg_c_receive_func_ptr */ "offload error: cannot find address of function %s",
|
|
/* 5 msg_c_malloc */ "offload error: memory allocation failed",
|
|
/* 6 msg_c_unknown_mic_device_type */ "offload error: unknown mic device type ",
|
|
/* 7 msg_c_offload_malloc */ "offload error: memory allocation failed (requested=%lld bytes, align %lld)",
|
|
/* 8 msg_c_offload1 */ "offload error: device %d does not have a pending signal for wait(%p)",
|
|
/* 9 msg_c_unknown_var_type */ "offload error: unknown variable type %d",
|
|
/* 10 msg_c_invalid_env_var_value */ "offload warning: ignoring invalid value specified for %s",
|
|
/* 11 msg_c_invalid_env_var_int_value */ "offload warning: specify an integer value for %s",
|
|
/* 12 msg_c_invalid_env_report_value */ "offload warning: ignoring %s setting; use a value in range 1-3",
|
|
/* 13 msg_c_offload_signaled1 */ "offload error: invalid device number %d specified in _Offload_signaled",
|
|
/* 14 msg_c_offload_signaled2 */ "offload error: invalid signal %p specified for _Offload_signaled",
|
|
/* 15 msg_c_myowrapper_checkresult */ "offload error: %s failed with error %d",
|
|
/* 16 msg_c_myotarget_checkresult */ "offload error: %s failed with error %d",
|
|
/* 17 msg_c_offload_descriptor_offload */ "offload error: cannot find offload entry %s",
|
|
/* 18 msg_c_merge_var_descs1 */ "offload error: unexpected number of variable descriptors",
|
|
/* 19 msg_c_merge_var_descs2 */ "offload error: unexpected variable type",
|
|
/* 20 msg_c_mic_parse_env_var_list1 */ "offload_error: MIC environment variable must begin with an alpabetic character",
|
|
/* 21 msg_c_mic_parse_env_var_list2 */ "offload_error: MIC environment variable value must be specified with '='",
|
|
/* 22 msg_c_mic_process_exit_ret */ "offload error: process on the device %d unexpectedly exited with code %d",
|
|
/* 23 msg_c_mic_process_exit_sig */ "offload error: process on the device %d was terminated by signal %d (%s)",
|
|
/* 24 msg_c_mic_process_exit */ "offload error: process on the device %d was unexpectedly terminated",
|
|
/* 25 msg_c_mic_init3 */ "offload warning: ignoring MIC_STACKSIZE setting; use a value >= 16K and a multiple of 4K",
|
|
/* 26 msg_c_mic_init4 */ "offload error: thread key create failed with error %d",
|
|
/* 27 msg_c_mic_init5 */ "offload error: specify OFFLOAD_DEVICES as comma-separated physical device numbers or 'none'",
|
|
/* 28 msg_c_mic_init6 */ "offload error: OFFLOAD_DEVICES device number %d does not correspond to a physical device",
|
|
/* 29 msg_c_mic_init7 */ "offload error: specify a number as a device in OFFLOAD_DEVICES",
|
|
/* 30 msg_c_mic_init8 */ "offload error: specify a number as the start of a device range in OFFLOAD_DEVICES",
|
|
/* 31 msg_c_mic_init9 */ "offload error: specify a number as the end of a device range in OFFLOAD_DEVICES",
|
|
/* 32 msg_c_mic_init10 */ "offload error: specify a low to high device range in OFFLOAD_DEVICES",
|
|
/* 33 msg_c_mic_init11 */ "offload error: specify comma-separated device or device ranges in OFFLOAD_DEVICES",
|
|
/* 34 msg_c_no_static_var_data */ "offload error: cannot find data associated with statically allocated variable %p",
|
|
/* 35 msg_c_no_ptr_data */ "offload error: cannot find data associated with pointer variable %p",
|
|
/* 36 msg_c_get_engine_handle */ "offload error: cannot get device %d handle (error code %d)",
|
|
/* 37 msg_c_get_engine_index */ "offload error: cannot get physical index for logical device %d (error code %d)",
|
|
/* 38 msg_c_process_create */ "offload error: cannot start process on the device %d (error code %d)",
|
|
/* 39 msg_c_process_set_cache_size */ "offload error: cannot reserve buffer on the device %d (error code %d)",
|
|
/* 40 msg_c_process_get_func_handles */ "offload error: cannot get function handles on the device %d (error code %d)",
|
|
/* 41 msg_c_process_wait_shutdown */ "offload error: wait for process shutdown failed on device %d (error code %d)",
|
|
/* 42 msg_c_process_proxy_flush */ "offload error: cannot flush process output on device %d (error code %d)",
|
|
/* 43 msg_c_load_library */ "offload error: cannot load library %s to the device %d (error code %d)",
|
|
/* 44 msg_c_pipeline_create */ "offload error: cannot create pipeline on the device %d (error code %d)",
|
|
/* 45 msg_c_pipeline_run_func */ "offload error: cannot execute function on the device %d (error code %d)",
|
|
/* 46 msg_c_pipeline_start_run_funcs */ "offload error: cannot start executing pipeline function on the device %d (error code %d)",
|
|
/* 47 msg_c_buf_create */ "offload error: cannot create buffer on device %d (error code %d)",
|
|
/* 48 msg_c_buf_create_out_of_mem */ "offload error: cannot create buffer on device %d, out of memory",
|
|
/* 49 msg_c_buf_create_from_mem */ "offload error: cannot create buffer from memory on device %d (error code %d)",
|
|
/* 50 msg_c_buf_destroy */ "offload error: buffer destroy failed (error code %d)",
|
|
/* 51 msg_c_buf_map */ "offload error: buffer map failed (error code %d)",
|
|
/* 52 msg_c_buf_unmap */ "offload error: buffer unmap failed (error code %d)",
|
|
/* 53 msg_c_buf_read */ "offload error: buffer read failed (error code %d)",
|
|
/* 54 msg_c_buf_write */ "offload error: buffer write failed (error code %d)",
|
|
/* 55 msg_c_buf_copy */ "offload error: buffer copy failed (error code %d)",
|
|
/* 56 msg_c_buf_get_address */ "offload error: cannot get buffer address on device %d (error code %d)",
|
|
/* 57 msg_c_buf_add_ref */ "offload error: cannot reuse buffer memory on device %d (error code %d)",
|
|
/* 58 msg_c_buf_release_ref */ "offload error: cannot release buffer memory on device %d (error code %d)",
|
|
/* 59 msg_c_buf_set_state */ "offload error: buffer set state failed (error code %d)",
|
|
/* 60 msg_c_event_wait */ "offload error: wait for event to become signaled failed (error code %d)",
|
|
/* 61 msg_c_zero_or_neg_ptr_len */ "offload error: memory allocation of zero or negative length is not supported",
|
|
/* 62 msg_c_zero_or_neg_transfer_size */ "offload error: data transfer of zero or negative size is not supported",
|
|
/* 63 msg_c_bad_ptr_mem_alloc */ "offload error: allocation (base=%p, size=%d) overlaps with existing allocation (base=%p, size=%d)",
|
|
/* 64 msg_c_bad_ptr_mem_range */ "offload error: data transfer (base=%p, size=%d) not subset of existing allocation (base=%p, size=%d)",
|
|
/* 65 msg_c_different_src_and_dstn_sizes */ "offload error: size of the source %d differs from size of the destination %d",
|
|
/* 66 msg_c_non_contiguous_dope_vector */ "offload error: offload data transfer supports only a single contiguous memory range per variable",
|
|
/* 67 msg_c_omp_invalid_device_num_env */ "offload warning: ignoring %s setting; use a non-negative integer value",
|
|
/* 68 msg_c_omp_invalid_device_num */ "offload error: device number should be a non-negative integer value",
|
|
/* 69 msg_c_unknown_binary_type */ "offload error: unexpected embedded target binary type, expected either an executable or shared library",
|
|
/* 70 msg_c_multiple_target_exes */ "offload error: more that one target executable found",
|
|
/* 71 msg_c_no_target_exe */ "offload error: target executable is not available",
|
|
/* 72 msg_c_report_unknown_timer_node */ "offload error: unknown timer node",
|
|
/* 73 msg_c_report_unknown_trace_node */ "offload error: unknown trace node",
|
|
/* 74 msg_c_incorrect_affinity */ "offload error: unknow affinity type %s, specify compact, scatter or balanced",
|
|
/* 75 msg_c_cannot_set_affinity */ "offload_error: unable to set affinity",
|
|
/* 76 msg_c_mixed_versions */ "offload_error: all application executables that contain offload must be built with the same compiler version",
|
|
/* 77 msg_c_report_host */ "HOST",
|
|
/* 78 msg_c_report_mic */ "MIC",
|
|
/* 79 msg_c_report_title */ "timer data (sec)",
|
|
/* 80 msg_c_report_seconds */ "(seconds)",
|
|
/* 81 msg_c_report_bytes */ "(bytes)",
|
|
/* 82 msg_c_report_cpu_time */ "CPU Time",
|
|
/* 83 msg_c_report_mic_time */ "MIC Time",
|
|
/* 84 msg_c_report_tag */ "Tag",
|
|
/* 85 msg_c_report_from_file */ "Offload from file",
|
|
/* 86 msg_c_report_file */ "File",
|
|
/* 87 msg_c_report_line */ "Line",
|
|
/* 88 msg_c_report_cpu_to_mic_data */ "CPU->MIC Data",
|
|
/* 89 msg_c_report_mic_to_cpu_data */ "MIC->CPU Data",
|
|
/* 90 msg_c_report_offload */ "Offload",
|
|
/* 91 msg_c_report_w_tag */ "Tag %d",
|
|
/* 92 msg_c_report_state */ "State",
|
|
/* 93 msg_c_report_start */ "Start target",
|
|
/* 94 msg_c_report_init */ "Initialize",
|
|
/* 95 msg_c_report_logical_card */ "logical card",
|
|
/* 96 msg_c_report_physical_card */ "physical card",
|
|
/* 97 msg_c_report_register */ "Register static data tables",
|
|
/* 98 msg_c_report_init_func */ "Setup target entry",
|
|
/* 99 msg_c_report_create_buf_host */ "Create host buffer",
|
|
/* 100 msg_c_report_create_buf_mic */ "Create target buffer",
|
|
/* 101 msg_c_report_send_pointer_data */ "Send pointer data",
|
|
/* 102 msg_c_report_sent_pointer_data */ "Host->target pointer data",
|
|
/* 103 msg_c_report_gather_copyin_data */ "Gather copyin data",
|
|
/* 104 msg_c_report_copyin_data */ "Host->target copyin data",
|
|
/* 105 msg_c_report_state_signal */ "Signal",
|
|
/* 106 msg_c_report_signal */ "signal :",
|
|
/* 107 msg_c_report_wait */ "waits :",
|
|
/* 108 msg_c_report_compute */ "Execute task on target",
|
|
/* 109 msg_c_report_receive_pointer_data */ "Receive pointer data",
|
|
/* 110 msg_c_report_received_pointer_data */ "Target->host pointer data",
|
|
/* 111 msg_c_report_start_target_func */ "Start target entry",
|
|
/* 112 msg_c_report_var */ "Var",
|
|
/* 113 msg_c_report_scatter_copyin_data */ "Scatter copyin data",
|
|
/* 114 msg_c_report_gather_copyout_data */ "Gather copyout data",
|
|
/* 115 msg_c_report_scatter_copyout_data */ "Scatter copyout data",
|
|
/* 116 msg_c_report_copyout_data */ "Target->host copyout data",
|
|
/* 117 msg_c_report_unregister */ "Unregister data tables",
|
|
/* 118 msg_c_report_destroy */ "Destroy",
|
|
/* 119 msg_c_report_myoinit */ "Initialize MYO",
|
|
/* 120 msg_c_report_myoregister */ "Register MYO tables",
|
|
/* 121 msg_c_report_myofini */ "Finalize MYO",
|
|
/* 122 msg_c_report_mic_myo_shared */ "MIC MYO shared table register",
|
|
/* 123 msg_c_report_mic_myo_fptr */ "MIC MYO fptr table register",
|
|
/* 124 msg_c_report_myosharedmalloc */ "MYO shared malloc",
|
|
/* 125 msg_c_report_myosharedfree */ "MYO shared free",
|
|
/* 126 msg_c_report_myosharedalignedmalloc */ "MYO shared aligned malloc",
|
|
/* 127 msg_c_report_myosharedalignedfree */ "MYO shared aligned free",
|
|
/* 128 msg_c_report_myoacquire */ "MYO acquire",
|
|
/* 129 msg_c_report_myorelease */ "MYO release",
|
|
/* 130 msg_c_report_myosupportsfeature */ "MYO supports feature",
|
|
/* 131 msg_c_report_myosharedarenacreate */ "MYO shared arena create",
|
|
/* 132 msg_c_report_myosharedalignedarenamalloc */ "MYO shared aligned arena malloc",
|
|
/* 133 msg_c_report_myosharedalignedarenafree */ "MYO shared aligned arena free",
|
|
/* 134 msg_c_report_myoarenaacquire */ "MYO arena acquire",
|
|
/* 135 msg_c_report_myoarenarelease */ "MYO arena release",
|
|
/* 136 msg_c_report_host_total_offload_time */ "host: total offload time",
|
|
/* 137 msg_c_report_host_initialize */ "host: initialize target",
|
|
/* 138 msg_c_report_host_target_acquire */ "host: acquire target",
|
|
/* 139 msg_c_report_host_wait_deps */ "host: wait dependencies",
|
|
/* 140 msg_c_report_host_setup_buffers */ "host: setup buffers",
|
|
/* 141 msg_c_report_host_alloc_buffers */ "host: allocate buffers",
|
|
/* 142 msg_c_report_host_setup_misc_data */ "host: setup misc_data",
|
|
/* 143 msg_c_report_host_alloc_data_buffer */ "host: allocate buffer",
|
|
/* 144 msg_c_report_host_send_pointers */ "host: send pointers",
|
|
/* 145 msg_c_report_host_gather_inputs */ "host: gather inputs",
|
|
/* 146 msg_c_report_host_map_in_data_buffer */ "host: map IN data buffer",
|
|
/* 147 msg_c_report_host_unmap_in_data_buffer */ "host: unmap IN data buffer",
|
|
/* 148 msg_c_report_host_start_compute */ "host: initiate compute",
|
|
/* 149 msg_c_report_host_wait_compute */ "host: wait compute",
|
|
/* 150 msg_c_report_host_start_buffers_reads */ "host: initiate pointer reads",
|
|
/* 151 msg_c_report_host_scatter_outputs */ "host: scatter outputs",
|
|
/* 152 msg_c_report_host_map_out_data_buffer */ "host: map OUT data buffer",
|
|
/* 153 msg_c_report_host_unmap_out_data_buffer */ "host: unmap OUT data buffer",
|
|
/* 154 msg_c_report_host_wait_buffers_reads */ "host: wait pointer reads",
|
|
/* 155 msg_c_report_host_destroy_buffers */ "host: destroy buffers",
|
|
/* 156 msg_c_report_target_total_time */ "target: total time",
|
|
/* 157 msg_c_report_target_descriptor_setup */ "target: setup offload descriptor",
|
|
/* 158 msg_c_report_target_func_lookup */ "target: entry lookup",
|
|
/* 159 msg_c_report_target_func_time */ "target: entry time",
|
|
/* 160 msg_c_report_target_scatter_inputs */ "target: scatter inputs",
|
|
/* 161 msg_c_report_target_add_buffer_refs */ "target: add buffer reference",
|
|
/* 162 msg_c_report_target_compute */ "target: compute",
|
|
/* 163 msg_c_report_target_gather_outputs */ "target: gather outputs",
|
|
/* 164 msg_c_report_target_release_buffer_refs */ "target: remove buffer reference",
|
|
/* 165 msg_c_coi_pipeline_max_number */ "number of host threads doing offload exceeds maximum of %d",
|
|
/* 166 msg_c_ranges_dont_match */ "ranges of source and destination don't match together",
|
|
/* 167 msg_c_destination_is_over */ "insufficient destination memory to transfer source",
|
|
/* 168 msg_c_slice_of_noncont_array */ "a non-contiguous slice may be taken of contiguous arrays only",
|
|
/* 169 msg_c_pointer_array_mismatch */ "number of %s elements is less than described by the source",
|
|
/* 170 msg_c_in_with_preallocated */ "offload error: preallocated targetptr alloc_if(1) may not be used with an in clause",
|
|
/* 171 msg_c_report_no_host_exe */ "offload error: Cannot find host executable",
|
|
/* 172 msg_c_report_no_target_exe */ "offload error: Cannot find target executable (%s)",
|
|
/* 173 msg_c_report_path_buff_overflow */ "offload error: Size of host executable path exceeded 4KB",
|
|
/* 174 msg_c_create_pipeline_for_stream */ "offload error: number of cpus exceeds maximum of %d",
|
|
/* 175 msg_c_offload_no_stream */ "offload error: the stream isn't found on device %d",
|
|
/* 176 msg_c_offload_device_doesnt_match_to_stream */ "offload_error: the stream was created for device %d",
|
|
/* 177 msg_c_offload_streams_are_absent */ "offload error: there was created no streams",
|
|
/* 178 msg_c_get_engine_info */ "offload error: cannot get device %d info (error code %d)",
|
|
/* 179 msg_c_clear_cpu_mask */ "offload error: cannot clear cpu mask (error code %d)",
|
|
/* 180 msg_c_set_cpu_mask */ "offload error: cannot set cpu mask (error code %d)",
|
|
/* 181 msg_c_report_state_stream */ "Stream",
|
|
/* 182 msg_c_report_stream */ "stream :",
|
|
/* 183 msg_c_unload_library */ "offload error: cannot unload library from the device %d (error code %d)",
|
|
/* 184 msg_c_target_myo_library */ "offload error: cannot find MYO library on device %s",
|
|
/* 185 msg_c_myo_dl_sym */ "offload error: cannot find MYO func on device %s",
|
|
/* 186 msg_c_bad_myo_free */ "offload error: cannot free MYO shared memory %p",
|
|
};
|