Closed xooxit closed 2 years ago
I build kernel with make all TARGET=sw_emu on cpp_kernels/simple_vadd directory, and did the execution of sw-emulation but I got XRT error below.
make all TARGET=sw_emu
yong@user:~/document/Vitis_Accel_Examples/cpp_kernels/simple_vadd$ ./simple_vadd build_dir.sw_emu.xilinx_u250_gen3x16_xdma_4_1_202210_1/krnl_vadd.xclbin INFO: Reading build_dir.sw_emu.xilinx_u250_gen3x16_xdma_4_1_202210_1/krnl_vadd.xclbin Loading: 'build_dir.sw_emu.xilinx_u250_gen3x16_xdma_4_1_202210_1/krnl_vadd.xclbin' Trying to program device[0]: xilinx_u250_gen3x16_xdma_shell_4_1 XRT build version: 2.13.466 Build hash: f5505e402c2ca1ffe45eb6d3a9399b23a0dc8776 Build date: 2022-04-14 17:43:11 Git branch: 2022.1 PID: 3756 UID: 1001 [Wed Jun 22 13:41:34 2022 GMT] HOST: user EXE: /home/lab/yong/document/Vitis_Accel_Examples/cpp_kernels/simple_vadd/simple_vadd [XRT] ERROR: See dmesg log for details. err = -22 [XRT] ERROR: failed to load xclbin: Invalid argument Failed to program device[0] with xclbin file!
Vitis version = 2022.1 Platform = xilinx_u250_gen3x16_xdma_4_1_202210_1 XRT version = 2.13.466 dmesg is below.(Failed message are pre-fixed by "###")
[ 2861.373624] xocl 0000:af:00.1: ffff919039f2b0b0 _xocl_drvinst_open: OPEN 1 [ 2861.373712] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_create_client: created KDS client for pid(3851), ret: 0 [ 2861.375856] xocl 0000:af:00.1: xmc.u.18874369 ffff91a0390b8010 xmc_read_from_peer: reading from peer [ 2861.375880] xocl 0000:af:00.1: mailbox.u.9437185 ffff91a0360bfc10 _mailbox_request: sending request: 10 via HW [ 2861.394640] xclmgmt 0000:af:00.0: mailbox.m.9437185 ffff91a038e3ec10 process_request: received request from peer: 10, passed on [ 2861.394649] xclmgmt 0000:af:00.0: xclmgmt_read_subdev_req: req kind 0 [ 2861.394716] xclmgmt 0000:af:00.0: mailbox.m.9437185 ffff91a038e3ec10 mailbox_post_response: posting response for: 10 via HW [ 2861.434791] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 icap_read_from_peer: reading from peer [ 2861.434801] xocl 0000:af:00.1: mailbox.u.9437185 ffff91a0360bfc10 _mailbox_request: sending request: 10 via HW [ 2861.435082] xclmgmt 0000:af:00.0: mailbox.m.9437185 ffff91a038e3ec10 process_request: received request from peer: 10, passed on [ 2861.435091] xclmgmt 0000:af:00.0: xclmgmt_read_subdev_req: req kind 1 [ 2861.435116] xclmgmt 0000:af:00.0: mailbox.m.9437185 ffff91a038e3ec10 mailbox_post_response: posting response for: 10 via HW [ 2861.436163] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 icap_cached_ocl_frequency: no cached data for 3 [ 2861.438427] xocl 0000:5e:00.1: ffff91a039e2e0b0 _xocl_drvinst_open: OPEN 1 [ 2861.438496] xocl 0000:5e:00.1: ffff91a039e2e0b0 xocl_create_client: created KDS client for pid(3851), ret: 0 [ 2861.441246] xocl 0000:5e:00.1: xmc.u.18874368 ffff9190270cf410 xmc_read_from_peer: reading from peer [ 2861.441259] xocl 0000:5e:00.1: mailbox.u.9437184 ffff9190270c8810 _mailbox_request: sending request: 10 via HW [ 2861.506568] xclmgmt 0000:5e:00.0: mailbox.m.9437184 ffff91902700d410 process_request: received request from peer: 10, passed on [ 2861.506572] xclmgmt 0000:5e:00.0: xclmgmt_read_subdev_req: req kind 0 [ 2861.506631] xclmgmt 0000:5e:00.0: mailbox.m.9437184 ffff91902700d410 mailbox_post_response: posting response for: 10 via HW [ 2861.580584] xocl 0000:5e:00.1: icap.u.22020096 ffff9190270c9410 icap_read_from_peer: reading from peer [ 2861.580602] xocl 0000:5e:00.1: mailbox.u.9437184 ffff9190270c8810 _mailbox_request: sending request: 10 via HW [ 2861.580924] xclmgmt 0000:5e:00.0: mailbox.m.9437184 ffff91902700d410 process_request: received request from peer: 10, passed on [ 2861.580931] xclmgmt 0000:5e:00.0: xclmgmt_read_subdev_req: req kind 1 [ 2861.580951] xclmgmt 0000:5e:00.0: mailbox.m.9437184 ffff91902700d410 mailbox_post_response: posting response for: 10 via HW [ 2861.581532] xocl 0000:5e:00.1: icap.u.22020096 ffff9190270c9410 icap_cached_ocl_frequency: no cached data for 3 [ 2861.585916] xocl 0000:af:00.1: ffff919039f2b0b0 _xocl_drvinst_open: OPEN 2 [ 2861.585986] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_create_client: created KDS client for pid(3851), ret: 0 [ 2861.596837] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 icap_cached_ocl_frequency: no cached data for 3 [ 2861.609086] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 icap_cached_ocl_frequency: no cached data for 3 [ 2861.611104] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_read_axlf_helper: check interface uuid [ 2861.611114] [drm] Finding MEM_TOPOLOGY section header [ 2861.611114] [drm] Section MEM_TOPOLOGY details: [ 2861.611115] [drm] offset = 0x40078 [ 2861.611115] [drm] size = 0x170 [ 2861.611140] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_cleanup_mem_nolock: Taking down DDR : 0 [ 2861.611144] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_cleanup_mem_nolock: Taking down DDR : 1 [ 2861.611148] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_cleanup_mem_nolock: Taking down DDR : 2 [ 2861.611151] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_cleanup_mem_nolock: Taking down DDR : 3 [ 2861.611157] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_cleanup_mem_nolock: Taking down DDR : 4 [ 2861.611159] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_cleanup_mem_nolock: Taking down DDR : 5 [ 2861.611162] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_cleanup_mem_nolock: Taking down DDR : 6 [ 2861.611165] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_cleanup_mem_nolock: Taking down DDR : 7 [ 2861.611167] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_cleanup_mem_nolock: Taking down DDR : 8 [ 2861.611185] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 icap_download_bitstream_axlf: check interface uuid [ 2861.611191] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 icap_download_bitstream_axlf: CLOCK_FREQ_TOPOLOGY doesn't exist. XRT is not configuring any clocks [ 2861.611195] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 __icap_download_bitstream_axlf: incoming xclbin: 9dc93af0-f4c5-b99f-2846-1aa1c5bb7825 on device xclbin: 00000000-0000-0000-0000-000000000000 [ 2861.613481] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_kds_xgq_cfg_start: Config start completed, num_cus(0), num_scus(0) [ 2861.761453] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_kds_xgq_cfg_end: Config end completed [ 2861.761493] xocl 0000:af:00.1: mailbox.u.9437185 ffff91a0360bfc10 _mailbox_request: sending request: 7 via HW [ 2861.761696] xclmgmt 0000:af:00.0: mailbox.m.9437185 ffff91a038e3ec10 process_request: received request from peer: 7, passed on [ 2861.761871] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_download_bitstream_axlf: check interface uuid [ 2861.761887] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_download_bitstream_axlf: CLOCK_FREQ_TOPOLOGY doesn't exist. XRT is not configuring any clocks [ 2861.761900] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 __icap_download_bitstream_axlf: incoming xclbin: 9dc93af0-f4c5-b99f-2846-1aa1c5bb7825 on device xclbin: 00000000-0000-0000-0000-000000000000 [ 2861.761909] xclmgmt 0000:af:00.0: ffff919039f2d0b0 raptor_cmc_access: Release CMC succeeded. [ 2861.761935] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_cache_bitstream_axlf_section: found kind 6(MEM_TOPOLOGY) [ 2861.761944] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_cache_bitstream_axlf_section: found kind 8(IP_LAYOUT) [ 2861.761949] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_refresh_clock_freq: ret: 0 [ 2861.761954] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_freeze_axi_gate: freezing CL AXI gate [ 2861.761963] xclmgmt 0000:af:00.0: ffff919039f2d0b0 axigate_freeze: freeze gate ep_pr_isolate_ulp_00 level 2 [ 2861.761968] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_download_hw: found second stage bitstream of size 0x3fcf8 ### [ 2861.761973] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_download_hw: Dowload bitstream failed [ 2861.761979] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_download_hw: icap_download_hw, err = -22 [ 2861.761984] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_free_axi_gate: freeing CL AXI gate [ 2861.761993] xclmgmt 0000:af:00.0: ffff919039f2d0b0 axigate_free: free gate ep_pr_isolate_ulp_00 level 2 [ 2861.761998] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 __icap_xclbin_download: ret: -22 [ 2861.762005] xclmgmt 0000:af:00.0: icap.m.22020097 ffff91a03b9ebc10 icap_download_bitstream_axlf: err: -22 [ 2861.762032] xclmgmt 0000:af:00.0: mailbox.m.9437185 ffff91a038e3ec10 mailbox_post_response: posting response for: 7 via HW ### [ 2861.762227] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 __icap_peer_xclbin_download: peer xclbin download err: -22 [ 2861.762244] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 icap_cache_bitstream_axlf_section: found kind 6(MEM_TOPOLOGY) [ 2861.762256] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 icap_cache_bitstream_axlf_section: found kind 26(ASK_GROUP_TOPOLOGY) [ 2861.762264] xocl 0000:af:00.1: icap.u.22020097 ffff91a0390bec10 icap_download_bitstream_axlf: err: -22 [ 2861.762274] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Topology count = 9, data_length = 360 [ 2861.762280] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_mem_init: already initialized [ 2861.762292] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Memory Bank: DDR[0] [ 2861.762297] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Base Address:0x0 [ 2861.762302] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Size:0x100000000000 [ 2861.762306] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Type:1 [ 2861.762311] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Used:1 [ 2861.762322] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Memory Bank: DDR[1] [ 2861.762344] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Base Address:0x1 [ 2861.762348] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Size:0x100000000000 [ 2861.762352] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Type:1 [ 2861.762356] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Used:1 [ 2861.762364] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Memory Bank: DDR[2] [ 2861.762369] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Base Address:0x2 [ 2861.762373] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Size:0x100000000000 [ 2861.762377] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Type:1 [ 2861.762384] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Used:1 [ 2861.762395] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Memory Bank: DDR[3] [ 2861.762402] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Base Address:0x3 [ 2861.762408] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Size:0x100000000000 [ 2861.762415] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Type:1 [ 2861.762421] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Used:1 [ 2861.762432] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Memory Bank: HOST[0] [ 2861.762446] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Base Address:0x4 [ 2861.762453] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Size:0x100000000000 [ 2861.762459] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Type:1 [ 2861.762466] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Used:1 [ 2861.762476] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Memory Bank: PLRAM[0] [ 2861.762482] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Base Address:0x5 [ 2861.762487] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Size:0x100000000000 [ 2861.762491] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Type:1 [ 2861.762495] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Used:1 [ 2861.762501] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Memory Bank: PLRAM[1] [ 2861.762505] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Base Address:0x6 [ 2861.762509] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Size:0x100000000000 [ 2861.762513] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Type:1 [ 2861.762517] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Used:1 [ 2861.762525] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Memory Bank: PLRAM[2] [ 2861.762529] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Base Address:0x7 [ 2861.762533] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Size:0x100000000000 [ 2861.762537] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Type:1 [ 2861.762541] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Used:1 [ 2861.762548] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Memory Bank: PLRAM[3] [ 2861.762552] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Base Address:0x8 [ 2861.762556] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Size:0x100000000000 [ 2861.762560] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Type:1 [ 2861.762564] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Used:1 [ 2861.762576] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_mem_map: map bank addr 0x0, size 17592186044416, offset 0, len 0 [ 2861.762583] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_bar_map: bank addr 0, sz 17592186044416, slots 256 [ 2861.762588] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Allocating Memory Bank: DDR[0] [ 2861.762593] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: base_addr:0x0, total size:0x100000000000 [ 2861.762598] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Found a new memory region [ 2861.762606] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_mem_map: map bank addr 0x1, size 17592186044416, offset 0, len 0 [ 2861.762611] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_bar_map: bank addr 1, sz 17592186044416, slots 256 [ 2861.762616] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Allocating Memory Bank: DDR[1] [ 2861.762620] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: base_addr:0x1, total size:0x100000000000 [ 2861.762624] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Found a new memory region [ 2861.762631] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_mem_map: map bank addr 0x2, size 17592186044416, offset 0, len 0 [ 2861.762637] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_bar_map: bank addr 2, sz 17592186044416, slots 256 [ 2861.762641] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Allocating Memory Bank: DDR[2] [ 2861.762645] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: base_addr:0x2, total size:0x100000000000 [ 2861.762650] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Found a new memory region [ 2861.762657] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_mem_map: map bank addr 0x3, size 17592186044416, offset 0, len 0 [ 2861.762662] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_bar_map: bank addr 3, sz 17592186044416, slots 256 [ 2861.762667] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Allocating Memory Bank: DDR[3] [ 2861.762671] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: base_addr:0x3, total size:0x100000000000 [ 2861.762675] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Found a new memory region [ 2861.762683] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Allocating Memory Bank: HOST[0] [ 2861.762690] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: base_addr:0x4, total size:0x100000000000 [ 2861.762697] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Found a new memory region [ 2861.762709] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_set_cma_bank: Could not find reserved HOST mem, Skipped [ 2861.762714] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_mem_map: map bank addr 0x5, size 17592186044416, offset 0, len 0 [ 2861.762722] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_bar_map: bank addr 5, sz 17592186044416, slots 256 [ 2861.762729] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Allocating Memory Bank: PLRAM[0] [ 2861.762736] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: base_addr:0x5, total size:0x100000000000 [ 2861.762743] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Found a new memory region [ 2861.762752] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_mem_map: map bank addr 0x6, size 17592186044416, offset 0, len 0 [ 2861.762760] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_bar_map: bank addr 6, sz 17592186044416, slots 256 [ 2861.762766] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Allocating Memory Bank: PLRAM[1] [ 2861.762771] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: base_addr:0x6, total size:0x100000000000 [ 2861.762775] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Found a new memory region [ 2861.762783] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_mem_map: map bank addr 0x7, size 17592186044416, offset 0, len 0 [ 2861.762788] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_bar_map: bank addr 7, sz 17592186044416, slots 256 [ 2861.762793] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Allocating Memory Bank: PLRAM[2] [ 2861.762797] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: base_addr:0x7, total size:0x100000000000 [ 2861.762801] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Found a new memory region [ 2861.762809] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_mem_map: map bank addr 0x8, size 17592186044416, offset 0, len 0 [ 2861.762814] xocl 0000:af:00.1: p2p.u.11534337 ffff91a0360bd410 p2p_bar_map: bank addr 8, sz 17592186044416, slots 256 [ 2861.762818] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Allocating Memory Bank: PLRAM[3] [ 2861.762823] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: base_addr:0x8, total size:0x100000000000 [ 2861.762827] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: Found a new memory region [ 2861.762837] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: drm_mm_init called for the available memory range [ 2861.762843] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_init_mem: ret 0 ### [ 2861.762848] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_read_axlf_helper: Failed to download xclbin, err: -22 [ 2861.763796] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_destroy_client: client exits pid(3851) [ 2861.763813] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_drvinst_close: CLOSE 3 [ 2861.818413] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_destroy_client: client exits pid(3851) [ 2861.818428] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_drvinst_close: CLOSE 2 [ 2861.818436] xocl 0000:af:00.1: ffff919039f2b0b0 xocl_drvinst_close: NOTIFY 0000000027a306df [ 2861.818459] xocl 0000:5e:00.1: ffff91a039e2e0b0 xocl_destroy_client: client exits pid(3851) [ 2861.818466] xocl 0000:5e:00.1: ffff91a039e2e0b0 xocl_drvinst_close: CLOSE 2 [ 2861.818471] xocl 0000:5e:00.1: ffff91a039e2e0b0 xocl_drvinst_close: NOTIFY 00000000dd188ff8
It's an issue of unsetting the XCL_EMULATION_MODE env variable. Works well when executing XCL_EMULATION_MODE=sw_emu ./simple_vadd build_dir.sw_emu.xilinx_u250_gen3x16_xdma_4_1_202210_1/krnl_vadd.xclbin
XCL_EMULATION_MODE=sw_emu ./simple_vadd build_dir.sw_emu.xilinx_u250_gen3x16_xdma_4_1_202210_1/krnl_vadd.xclbin
I build kernel with
make all TARGET=sw_emu
on cpp_kernels/simple_vadd directory, and did the execution of sw-emulation but I got XRT error below.Vitis version = 2022.1 Platform = xilinx_u250_gen3x16_xdma_4_1_202210_1 XRT version = 2.13.466 dmesg is below.(Failed message are pre-fixed by "###")