111
|
1 /*
|
|
2 Copyright (c) 2014-2016 Intel Corporation. All Rights Reserved.
|
|
3
|
|
4 Redistribution and use in source and binary forms, with or without
|
|
5 modification, are permitted provided that the following conditions
|
|
6 are met:
|
|
7
|
|
8 * Redistributions of source code must retain the above copyright
|
|
9 notice, this list of conditions and the following disclaimer.
|
|
10 * Redistributions in binary form must reproduce the above copyright
|
|
11 notice, this list of conditions and the following disclaimer in the
|
|
12 documentation and/or other materials provided with the distribution.
|
|
13 * Neither the name of Intel Corporation nor the names of its
|
|
14 contributors may be used to endorse or promote products derived
|
|
15 from this software without specific prior written permission.
|
|
16
|
|
17 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
|
18 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
|
19 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
|
20 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
|
21 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
|
22 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
|
23 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
|
24 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
|
25 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
26 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
27 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
28 */
|
|
29
|
|
30 // file: liboffload_msg.h
|
|
31 enum {
|
|
32 __dummy__ = 0,
|
|
33 msg_c_device_is_not_available,
|
|
34 msg_c_invalid_device_number,
|
|
35 msg_c_send_func_ptr,
|
|
36 msg_c_receive_func_ptr,
|
|
37 msg_c_malloc,
|
|
38 msg_c_unknown_mic_device_type,
|
|
39 msg_c_offload_malloc,
|
|
40 msg_c_offload1,
|
|
41 msg_c_unknown_var_type,
|
|
42 msg_c_invalid_env_var_value,
|
|
43 msg_c_invalid_env_var_int_value,
|
|
44 msg_c_invalid_env_report_value,
|
|
45 msg_c_offload_signaled1,
|
|
46 msg_c_offload_signaled2,
|
|
47 msg_c_myowrapper_checkresult,
|
|
48 msg_c_myotarget_checkresult,
|
|
49 msg_c_offload_descriptor_offload,
|
|
50 msg_c_merge_var_descs1,
|
|
51 msg_c_merge_var_descs2,
|
|
52 msg_c_mic_parse_env_var_list1,
|
|
53 msg_c_mic_parse_env_var_list2,
|
|
54 msg_c_mic_process_exit_ret,
|
|
55 msg_c_mic_process_exit_sig,
|
|
56 msg_c_mic_process_exit,
|
|
57 msg_c_mic_init3,
|
|
58 msg_c_mic_init4,
|
|
59 msg_c_mic_init5,
|
|
60 msg_c_mic_init6,
|
|
61 msg_c_mic_init7,
|
|
62 msg_c_mic_init8,
|
|
63 msg_c_mic_init9,
|
|
64 msg_c_mic_init10,
|
|
65 msg_c_mic_init11,
|
|
66 msg_c_no_static_var_data,
|
|
67 msg_c_no_ptr_data,
|
|
68 msg_c_get_engine_handle,
|
|
69 msg_c_get_engine_index,
|
|
70 msg_c_process_create,
|
|
71 msg_c_process_set_cache_size,
|
|
72 msg_c_process_get_func_handles,
|
|
73 msg_c_process_wait_shutdown,
|
|
74 msg_c_process_proxy_flush,
|
|
75 msg_c_load_library,
|
|
76 msg_c_pipeline_create,
|
|
77 msg_c_pipeline_run_func,
|
|
78 msg_c_pipeline_start_run_funcs,
|
|
79 msg_c_buf_create,
|
|
80 msg_c_buf_create_out_of_mem,
|
|
81 msg_c_buf_create_from_mem,
|
|
82 msg_c_buf_destroy,
|
|
83 msg_c_buf_map,
|
|
84 msg_c_buf_unmap,
|
|
85 msg_c_buf_read,
|
|
86 msg_c_buf_write,
|
|
87 msg_c_buf_copy,
|
|
88 msg_c_buf_get_address,
|
|
89 msg_c_buf_add_ref,
|
|
90 msg_c_buf_release_ref,
|
|
91 msg_c_buf_set_state,
|
|
92 msg_c_event_wait,
|
|
93 msg_c_zero_or_neg_ptr_len,
|
|
94 msg_c_zero_or_neg_transfer_size,
|
|
95 msg_c_bad_ptr_mem_alloc,
|
|
96 msg_c_bad_ptr_mem_range,
|
|
97 msg_c_different_src_and_dstn_sizes,
|
|
98 msg_c_non_contiguous_dope_vector,
|
|
99 msg_c_omp_invalid_device_num_env,
|
|
100 msg_c_omp_invalid_device_num,
|
|
101 msg_c_unknown_binary_type,
|
|
102 msg_c_multiple_target_exes,
|
|
103 msg_c_no_target_exe,
|
|
104 msg_c_report_unknown_timer_node,
|
|
105 msg_c_report_unknown_trace_node,
|
|
106 msg_c_incorrect_affinity,
|
|
107 msg_c_cannot_set_affinity,
|
|
108 msg_c_mixed_versions,
|
|
109 msg_c_report_host,
|
|
110 msg_c_report_mic,
|
|
111 msg_c_report_title,
|
|
112 msg_c_report_seconds,
|
|
113 msg_c_report_bytes,
|
|
114 msg_c_report_cpu_time,
|
|
115 msg_c_report_mic_time,
|
|
116 msg_c_report_tag,
|
|
117 msg_c_report_from_file,
|
|
118 msg_c_report_file,
|
|
119 msg_c_report_line,
|
|
120 msg_c_report_cpu_to_mic_data,
|
|
121 msg_c_report_mic_to_cpu_data,
|
|
122 msg_c_report_offload,
|
|
123 msg_c_report_w_tag,
|
|
124 msg_c_report_state,
|
|
125 msg_c_report_start,
|
|
126 msg_c_report_init,
|
|
127 msg_c_report_logical_card,
|
|
128 msg_c_report_physical_card,
|
|
129 msg_c_report_register,
|
|
130 msg_c_report_init_func,
|
|
131 msg_c_report_create_buf_host,
|
|
132 msg_c_report_create_buf_mic,
|
|
133 msg_c_report_send_pointer_data,
|
|
134 msg_c_report_sent_pointer_data,
|
|
135 msg_c_report_gather_copyin_data,
|
|
136 msg_c_report_copyin_data,
|
|
137 msg_c_report_state_signal,
|
|
138 msg_c_report_signal,
|
|
139 msg_c_report_wait,
|
|
140 msg_c_report_compute,
|
|
141 msg_c_report_receive_pointer_data,
|
|
142 msg_c_report_received_pointer_data,
|
|
143 msg_c_report_start_target_func,
|
|
144 msg_c_report_var,
|
|
145 msg_c_report_scatter_copyin_data,
|
|
146 msg_c_report_gather_copyout_data,
|
|
147 msg_c_report_scatter_copyout_data,
|
|
148 msg_c_report_copyout_data,
|
|
149 msg_c_report_unregister,
|
|
150 msg_c_report_destroy,
|
|
151 msg_c_report_myoinit,
|
|
152 msg_c_report_myoregister,
|
|
153 msg_c_report_myofini,
|
|
154 msg_c_report_mic_myo_shared,
|
|
155 msg_c_report_mic_myo_fptr,
|
|
156 msg_c_report_myosharedmalloc,
|
|
157 msg_c_report_myosharedfree,
|
|
158 msg_c_report_myosharedalignedmalloc,
|
|
159 msg_c_report_myosharedalignedfree,
|
|
160 msg_c_report_myoacquire,
|
|
161 msg_c_report_myorelease,
|
|
162 msg_c_report_myosupportsfeature,
|
|
163 msg_c_report_myosharedarenacreate,
|
|
164 msg_c_report_myosharedalignedarenamalloc,
|
|
165 msg_c_report_myosharedalignedarenafree,
|
|
166 msg_c_report_myoarenaacquire,
|
|
167 msg_c_report_myoarenarelease,
|
|
168 msg_c_report_host_total_offload_time,
|
|
169 msg_c_report_host_initialize,
|
|
170 msg_c_report_host_target_acquire,
|
|
171 msg_c_report_host_wait_deps,
|
|
172 msg_c_report_host_setup_buffers,
|
|
173 msg_c_report_host_alloc_buffers,
|
|
174 msg_c_report_host_setup_misc_data,
|
|
175 msg_c_report_host_alloc_data_buffer,
|
|
176 msg_c_report_host_send_pointers,
|
|
177 msg_c_report_host_gather_inputs,
|
|
178 msg_c_report_host_map_in_data_buffer,
|
|
179 msg_c_report_host_unmap_in_data_buffer,
|
|
180 msg_c_report_host_start_compute,
|
|
181 msg_c_report_host_wait_compute,
|
|
182 msg_c_report_host_start_buffers_reads,
|
|
183 msg_c_report_host_scatter_outputs,
|
|
184 msg_c_report_host_map_out_data_buffer,
|
|
185 msg_c_report_host_unmap_out_data_buffer,
|
|
186 msg_c_report_host_wait_buffers_reads,
|
|
187 msg_c_report_host_destroy_buffers,
|
|
188 msg_c_report_target_total_time,
|
|
189 msg_c_report_target_descriptor_setup,
|
|
190 msg_c_report_target_func_lookup,
|
|
191 msg_c_report_target_func_time,
|
|
192 msg_c_report_target_scatter_inputs,
|
|
193 msg_c_report_target_add_buffer_refs,
|
|
194 msg_c_report_target_compute,
|
|
195 msg_c_report_target_gather_outputs,
|
|
196 msg_c_report_target_release_buffer_refs,
|
|
197 msg_c_coi_pipeline_max_number,
|
|
198 msg_c_ranges_dont_match,
|
|
199 msg_c_destination_is_over,
|
|
200 msg_c_slice_of_noncont_array,
|
|
201 msg_c_pointer_array_mismatch,
|
|
202 msg_c_in_with_preallocated,
|
|
203 msg_c_report_no_host_exe,
|
|
204 msg_c_report_no_target_exe,
|
|
205 msg_c_report_path_buff_overflow,
|
|
206 msg_c_create_pipeline_for_stream,
|
|
207 msg_c_offload_no_stream,
|
|
208 msg_c_offload_device_doesnt_match_to_stream,
|
|
209 msg_c_offload_streams_are_absent,
|
|
210 msg_c_get_engine_info,
|
|
211 msg_c_clear_cpu_mask,
|
|
212 msg_c_set_cpu_mask,
|
|
213 msg_c_report_state_stream,
|
|
214 msg_c_report_stream,
|
|
215 msg_c_unload_library,
|
|
216 msg_c_target_myo_library,
|
|
217 msg_c_myo_dl_sym,
|
|
218 msg_c_bad_myo_free,
|
|
219 lastMsg = 187,
|
|
220 firstMsg = 1
|
|
221 };
|
|
222
|
|
223
|
|
224 #if !defined(MESSAGE_TABLE_NAME)
|
|
225 # define MESSAGE_TABLE_NAME __liboffload_message_table
|
|
226 #endif
|
|
227
|
|
228 static char const * MESSAGE_TABLE_NAME[] = {
|
|
229 /* 0 __dummy__ */ "Un-used message",
|
|
230 /* 1 msg_c_device_is_not_available */ "offload error: cannot offload to MIC - device is not available",
|
|
231 /* 2 msg_c_invalid_device_number */ "offload error: expected a number greater than or equal to -1",
|
|
232 /* 3 msg_c_send_func_ptr */ "offload error: cannot find function name for address %p",
|
|
233 /* 4 msg_c_receive_func_ptr */ "offload error: cannot find address of function %s",
|
|
234 /* 5 msg_c_malloc */ "offload error: memory allocation failed",
|
|
235 /* 6 msg_c_unknown_mic_device_type */ "offload error: unknown mic device type ",
|
|
236 /* 7 msg_c_offload_malloc */ "offload error: memory allocation failed (requested=%lld bytes, align %lld)",
|
|
237 /* 8 msg_c_offload1 */ "offload error: device %d does not have a pending signal for wait(%p)",
|
|
238 /* 9 msg_c_unknown_var_type */ "offload error: unknown variable type %d",
|
|
239 /* 10 msg_c_invalid_env_var_value */ "offload warning: ignoring invalid value specified for %s",
|
|
240 /* 11 msg_c_invalid_env_var_int_value */ "offload warning: specify an integer value for %s",
|
|
241 /* 12 msg_c_invalid_env_report_value */ "offload warning: ignoring %s setting; use a value in range 1-3",
|
|
242 /* 13 msg_c_offload_signaled1 */ "offload error: invalid device number %d specified in _Offload_signaled",
|
|
243 /* 14 msg_c_offload_signaled2 */ "offload error: invalid signal %p specified for _Offload_signaled",
|
|
244 /* 15 msg_c_myowrapper_checkresult */ "offload error: %s failed with error %d",
|
|
245 /* 16 msg_c_myotarget_checkresult */ "offload error: %s failed with error %d",
|
|
246 /* 17 msg_c_offload_descriptor_offload */ "offload error: cannot find offload entry %s",
|
|
247 /* 18 msg_c_merge_var_descs1 */ "offload error: unexpected number of variable descriptors",
|
|
248 /* 19 msg_c_merge_var_descs2 */ "offload error: unexpected variable type",
|
|
249 /* 20 msg_c_mic_parse_env_var_list1 */ "offload_error: MIC environment variable must begin with an alpabetic character",
|
|
250 /* 21 msg_c_mic_parse_env_var_list2 */ "offload_error: MIC environment variable value must be specified with '='",
|
|
251 /* 22 msg_c_mic_process_exit_ret */ "offload error: process on the device %d unexpectedly exited with code %d",
|
|
252 /* 23 msg_c_mic_process_exit_sig */ "offload error: process on the device %d was terminated by signal %d (%s)",
|
|
253 /* 24 msg_c_mic_process_exit */ "offload error: process on the device %d was unexpectedly terminated",
|
|
254 /* 25 msg_c_mic_init3 */ "offload warning: ignoring MIC_STACKSIZE setting; use a value >= 16K and a multiple of 4K",
|
|
255 /* 26 msg_c_mic_init4 */ "offload error: thread key create failed with error %d",
|
|
256 /* 27 msg_c_mic_init5 */ "offload error: specify OFFLOAD_DEVICES as comma-separated physical device numbers or 'none'",
|
|
257 /* 28 msg_c_mic_init6 */ "offload error: OFFLOAD_DEVICES device number %d does not correspond to a physical device",
|
|
258 /* 29 msg_c_mic_init7 */ "offload error: specify a number as a device in OFFLOAD_DEVICES",
|
|
259 /* 30 msg_c_mic_init8 */ "offload error: specify a number as the start of a device range in OFFLOAD_DEVICES",
|
|
260 /* 31 msg_c_mic_init9 */ "offload error: specify a number as the end of a device range in OFFLOAD_DEVICES",
|
|
261 /* 32 msg_c_mic_init10 */ "offload error: specify a low to high device range in OFFLOAD_DEVICES",
|
|
262 /* 33 msg_c_mic_init11 */ "offload error: specify comma-separated device or device ranges in OFFLOAD_DEVICES",
|
|
263 /* 34 msg_c_no_static_var_data */ "offload error: cannot find data associated with statically allocated variable %p",
|
|
264 /* 35 msg_c_no_ptr_data */ "offload error: cannot find data associated with pointer variable %p",
|
|
265 /* 36 msg_c_get_engine_handle */ "offload error: cannot get device %d handle (error code %d)",
|
|
266 /* 37 msg_c_get_engine_index */ "offload error: cannot get physical index for logical device %d (error code %d)",
|
|
267 /* 38 msg_c_process_create */ "offload error: cannot start process on the device %d (error code %d)",
|
|
268 /* 39 msg_c_process_set_cache_size */ "offload error: cannot reserve buffer on the device %d (error code %d)",
|
|
269 /* 40 msg_c_process_get_func_handles */ "offload error: cannot get function handles on the device %d (error code %d)",
|
|
270 /* 41 msg_c_process_wait_shutdown */ "offload error: wait for process shutdown failed on device %d (error code %d)",
|
|
271 /* 42 msg_c_process_proxy_flush */ "offload error: cannot flush process output on device %d (error code %d)",
|
|
272 /* 43 msg_c_load_library */ "offload error: cannot load library %s to the device %d (error code %d)",
|
|
273 /* 44 msg_c_pipeline_create */ "offload error: cannot create pipeline on the device %d (error code %d)",
|
|
274 /* 45 msg_c_pipeline_run_func */ "offload error: cannot execute function on the device %d (error code %d)",
|
|
275 /* 46 msg_c_pipeline_start_run_funcs */ "offload error: cannot start executing pipeline function on the device %d (error code %d)",
|
|
276 /* 47 msg_c_buf_create */ "offload error: cannot create buffer on device %d (error code %d)",
|
|
277 /* 48 msg_c_buf_create_out_of_mem */ "offload error: cannot create buffer on device %d, out of memory",
|
|
278 /* 49 msg_c_buf_create_from_mem */ "offload error: cannot create buffer from memory on device %d (error code %d)",
|
|
279 /* 50 msg_c_buf_destroy */ "offload error: buffer destroy failed (error code %d)",
|
|
280 /* 51 msg_c_buf_map */ "offload error: buffer map failed (error code %d)",
|
|
281 /* 52 msg_c_buf_unmap */ "offload error: buffer unmap failed (error code %d)",
|
|
282 /* 53 msg_c_buf_read */ "offload error: buffer read failed (error code %d)",
|
|
283 /* 54 msg_c_buf_write */ "offload error: buffer write failed (error code %d)",
|
|
284 /* 55 msg_c_buf_copy */ "offload error: buffer copy failed (error code %d)",
|
|
285 /* 56 msg_c_buf_get_address */ "offload error: cannot get buffer address on device %d (error code %d)",
|
|
286 /* 57 msg_c_buf_add_ref */ "offload error: cannot reuse buffer memory on device %d (error code %d)",
|
|
287 /* 58 msg_c_buf_release_ref */ "offload error: cannot release buffer memory on device %d (error code %d)",
|
|
288 /* 59 msg_c_buf_set_state */ "offload error: buffer set state failed (error code %d)",
|
|
289 /* 60 msg_c_event_wait */ "offload error: wait for event to become signaled failed (error code %d)",
|
|
290 /* 61 msg_c_zero_or_neg_ptr_len */ "offload error: memory allocation of zero or negative length is not supported",
|
|
291 /* 62 msg_c_zero_or_neg_transfer_size */ "offload error: data transfer of zero or negative size is not supported",
|
|
292 /* 63 msg_c_bad_ptr_mem_alloc */ "offload error: allocation (base=%p, size=%d) overlaps with existing allocation (base=%p, size=%d)",
|
|
293 /* 64 msg_c_bad_ptr_mem_range */ "offload error: data transfer (base=%p, size=%d) not subset of existing allocation (base=%p, size=%d)",
|
|
294 /* 65 msg_c_different_src_and_dstn_sizes */ "offload error: size of the source %d differs from size of the destination %d",
|
|
295 /* 66 msg_c_non_contiguous_dope_vector */ "offload error: offload data transfer supports only a single contiguous memory range per variable",
|
|
296 /* 67 msg_c_omp_invalid_device_num_env */ "offload warning: ignoring %s setting; use a non-negative integer value",
|
|
297 /* 68 msg_c_omp_invalid_device_num */ "offload error: device number should be a non-negative integer value",
|
|
298 /* 69 msg_c_unknown_binary_type */ "offload error: unexpected embedded target binary type, expected either an executable or shared library",
|
|
299 /* 70 msg_c_multiple_target_exes */ "offload error: more that one target executable found",
|
|
300 /* 71 msg_c_no_target_exe */ "offload error: target executable is not available",
|
|
301 /* 72 msg_c_report_unknown_timer_node */ "offload error: unknown timer node",
|
|
302 /* 73 msg_c_report_unknown_trace_node */ "offload error: unknown trace node",
|
|
303 /* 74 msg_c_incorrect_affinity */ "offload error: unknow affinity type %s, specify compact, scatter or balanced",
|
|
304 /* 75 msg_c_cannot_set_affinity */ "offload_error: unable to set affinity",
|
|
305 /* 76 msg_c_mixed_versions */ "offload_error: all application executables that contain offload must be built with the same compiler version",
|
|
306 /* 77 msg_c_report_host */ "HOST",
|
|
307 /* 78 msg_c_report_mic */ "MIC",
|
|
308 /* 79 msg_c_report_title */ "timer data (sec)",
|
|
309 /* 80 msg_c_report_seconds */ "(seconds)",
|
|
310 /* 81 msg_c_report_bytes */ "(bytes)",
|
|
311 /* 82 msg_c_report_cpu_time */ "CPU Time",
|
|
312 /* 83 msg_c_report_mic_time */ "MIC Time",
|
|
313 /* 84 msg_c_report_tag */ "Tag",
|
|
314 /* 85 msg_c_report_from_file */ "Offload from file",
|
|
315 /* 86 msg_c_report_file */ "File",
|
|
316 /* 87 msg_c_report_line */ "Line",
|
|
317 /* 88 msg_c_report_cpu_to_mic_data */ "CPU->MIC Data",
|
|
318 /* 89 msg_c_report_mic_to_cpu_data */ "MIC->CPU Data",
|
|
319 /* 90 msg_c_report_offload */ "Offload",
|
|
320 /* 91 msg_c_report_w_tag */ "Tag %d",
|
|
321 /* 92 msg_c_report_state */ "State",
|
|
322 /* 93 msg_c_report_start */ "Start target",
|
|
323 /* 94 msg_c_report_init */ "Initialize",
|
|
324 /* 95 msg_c_report_logical_card */ "logical card",
|
|
325 /* 96 msg_c_report_physical_card */ "physical card",
|
|
326 /* 97 msg_c_report_register */ "Register static data tables",
|
|
327 /* 98 msg_c_report_init_func */ "Setup target entry",
|
|
328 /* 99 msg_c_report_create_buf_host */ "Create host buffer",
|
|
329 /* 100 msg_c_report_create_buf_mic */ "Create target buffer",
|
|
330 /* 101 msg_c_report_send_pointer_data */ "Send pointer data",
|
|
331 /* 102 msg_c_report_sent_pointer_data */ "Host->target pointer data",
|
|
332 /* 103 msg_c_report_gather_copyin_data */ "Gather copyin data",
|
|
333 /* 104 msg_c_report_copyin_data */ "Host->target copyin data",
|
|
334 /* 105 msg_c_report_state_signal */ "Signal",
|
|
335 /* 106 msg_c_report_signal */ "signal :",
|
|
336 /* 107 msg_c_report_wait */ "waits :",
|
|
337 /* 108 msg_c_report_compute */ "Execute task on target",
|
|
338 /* 109 msg_c_report_receive_pointer_data */ "Receive pointer data",
|
|
339 /* 110 msg_c_report_received_pointer_data */ "Target->host pointer data",
|
|
340 /* 111 msg_c_report_start_target_func */ "Start target entry",
|
|
341 /* 112 msg_c_report_var */ "Var",
|
|
342 /* 113 msg_c_report_scatter_copyin_data */ "Scatter copyin data",
|
|
343 /* 114 msg_c_report_gather_copyout_data */ "Gather copyout data",
|
|
344 /* 115 msg_c_report_scatter_copyout_data */ "Scatter copyout data",
|
|
345 /* 116 msg_c_report_copyout_data */ "Target->host copyout data",
|
|
346 /* 117 msg_c_report_unregister */ "Unregister data tables",
|
|
347 /* 118 msg_c_report_destroy */ "Destroy",
|
|
348 /* 119 msg_c_report_myoinit */ "Initialize MYO",
|
|
349 /* 120 msg_c_report_myoregister */ "Register MYO tables",
|
|
350 /* 121 msg_c_report_myofini */ "Finalize MYO",
|
|
351 /* 122 msg_c_report_mic_myo_shared */ "MIC MYO shared table register",
|
|
352 /* 123 msg_c_report_mic_myo_fptr */ "MIC MYO fptr table register",
|
|
353 /* 124 msg_c_report_myosharedmalloc */ "MYO shared malloc",
|
|
354 /* 125 msg_c_report_myosharedfree */ "MYO shared free",
|
|
355 /* 126 msg_c_report_myosharedalignedmalloc */ "MYO shared aligned malloc",
|
|
356 /* 127 msg_c_report_myosharedalignedfree */ "MYO shared aligned free",
|
|
357 /* 128 msg_c_report_myoacquire */ "MYO acquire",
|
|
358 /* 129 msg_c_report_myorelease */ "MYO release",
|
|
359 /* 130 msg_c_report_myosupportsfeature */ "MYO supports feature",
|
|
360 /* 131 msg_c_report_myosharedarenacreate */ "MYO shared arena create",
|
|
361 /* 132 msg_c_report_myosharedalignedarenamalloc */ "MYO shared aligned arena malloc",
|
|
362 /* 133 msg_c_report_myosharedalignedarenafree */ "MYO shared aligned arena free",
|
|
363 /* 134 msg_c_report_myoarenaacquire */ "MYO arena acquire",
|
|
364 /* 135 msg_c_report_myoarenarelease */ "MYO arena release",
|
|
365 /* 136 msg_c_report_host_total_offload_time */ "host: total offload time",
|
|
366 /* 137 msg_c_report_host_initialize */ "host: initialize target",
|
|
367 /* 138 msg_c_report_host_target_acquire */ "host: acquire target",
|
|
368 /* 139 msg_c_report_host_wait_deps */ "host: wait dependencies",
|
|
369 /* 140 msg_c_report_host_setup_buffers */ "host: setup buffers",
|
|
370 /* 141 msg_c_report_host_alloc_buffers */ "host: allocate buffers",
|
|
371 /* 142 msg_c_report_host_setup_misc_data */ "host: setup misc_data",
|
|
372 /* 143 msg_c_report_host_alloc_data_buffer */ "host: allocate buffer",
|
|
373 /* 144 msg_c_report_host_send_pointers */ "host: send pointers",
|
|
374 /* 145 msg_c_report_host_gather_inputs */ "host: gather inputs",
|
|
375 /* 146 msg_c_report_host_map_in_data_buffer */ "host: map IN data buffer",
|
|
376 /* 147 msg_c_report_host_unmap_in_data_buffer */ "host: unmap IN data buffer",
|
|
377 /* 148 msg_c_report_host_start_compute */ "host: initiate compute",
|
|
378 /* 149 msg_c_report_host_wait_compute */ "host: wait compute",
|
|
379 /* 150 msg_c_report_host_start_buffers_reads */ "host: initiate pointer reads",
|
|
380 /* 151 msg_c_report_host_scatter_outputs */ "host: scatter outputs",
|
|
381 /* 152 msg_c_report_host_map_out_data_buffer */ "host: map OUT data buffer",
|
|
382 /* 153 msg_c_report_host_unmap_out_data_buffer */ "host: unmap OUT data buffer",
|
|
383 /* 154 msg_c_report_host_wait_buffers_reads */ "host: wait pointer reads",
|
|
384 /* 155 msg_c_report_host_destroy_buffers */ "host: destroy buffers",
|
|
385 /* 156 msg_c_report_target_total_time */ "target: total time",
|
|
386 /* 157 msg_c_report_target_descriptor_setup */ "target: setup offload descriptor",
|
|
387 /* 158 msg_c_report_target_func_lookup */ "target: entry lookup",
|
|
388 /* 159 msg_c_report_target_func_time */ "target: entry time",
|
|
389 /* 160 msg_c_report_target_scatter_inputs */ "target: scatter inputs",
|
|
390 /* 161 msg_c_report_target_add_buffer_refs */ "target: add buffer reference",
|
|
391 /* 162 msg_c_report_target_compute */ "target: compute",
|
|
392 /* 163 msg_c_report_target_gather_outputs */ "target: gather outputs",
|
|
393 /* 164 msg_c_report_target_release_buffer_refs */ "target: remove buffer reference",
|
|
394 /* 165 msg_c_coi_pipeline_max_number */ "number of host threads doing offload exceeds maximum of %d",
|
|
395 /* 166 msg_c_ranges_dont_match */ "ranges of source and destination don't match together",
|
|
396 /* 167 msg_c_destination_is_over */ "insufficient destination memory to transfer source",
|
|
397 /* 168 msg_c_slice_of_noncont_array */ "a non-contiguous slice may be taken of contiguous arrays only",
|
|
398 /* 169 msg_c_pointer_array_mismatch */ "number of %s elements is less than described by the source",
|
|
399 /* 170 msg_c_in_with_preallocated */ "offload error: preallocated targetptr alloc_if(1) may not be used with an in clause",
|
|
400 /* 171 msg_c_report_no_host_exe */ "offload error: Cannot find host executable",
|
|
401 /* 172 msg_c_report_no_target_exe */ "offload error: Cannot find target executable (%s)",
|
|
402 /* 173 msg_c_report_path_buff_overflow */ "offload error: Size of host executable path exceeded 4KB",
|
|
403 /* 174 msg_c_create_pipeline_for_stream */ "offload error: number of cpus exceeds maximum of %d",
|
|
404 /* 175 msg_c_offload_no_stream */ "offload error: the stream isn't found on device %d",
|
|
405 /* 176 msg_c_offload_device_doesnt_match_to_stream */ "offload_error: the stream was created for device %d",
|
|
406 /* 177 msg_c_offload_streams_are_absent */ "offload error: there was created no streams",
|
|
407 /* 178 msg_c_get_engine_info */ "offload error: cannot get device %d info (error code %d)",
|
|
408 /* 179 msg_c_clear_cpu_mask */ "offload error: cannot clear cpu mask (error code %d)",
|
|
409 /* 180 msg_c_set_cpu_mask */ "offload error: cannot set cpu mask (error code %d)",
|
|
410 /* 181 msg_c_report_state_stream */ "Stream",
|
|
411 /* 182 msg_c_report_stream */ "stream :",
|
|
412 /* 183 msg_c_unload_library */ "offload error: cannot unload library from the device %d (error code %d)",
|
|
413 /* 184 msg_c_target_myo_library */ "offload error: cannot find MYO library on device %s",
|
|
414 /* 185 msg_c_myo_dl_sym */ "offload error: cannot find MYO func on device %s",
|
|
415 /* 186 msg_c_bad_myo_free */ "offload error: cannot free MYO shared memory %p",
|
|
416 };
|