Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VP FPGA Lenet Error ((DLA_TEST) Error 0x00000002 and NvDlaSubmit: Error IOCTL failed (No such process)) #58

Open
Hassan313 opened this issue May 13, 2020 · 4 comments

Comments

@Hassan313
Copy link

Hassan313 commented May 13, 2020

I have used the nv_small: agfi-05d68b424ef03f66e, and tried to run an inference on an digit image with the Lenet network which I have been successfully doing it on a VP with QEMU, however when I tried with the sub steps mentioned all in step 2 (2.1 to 2.4 ) from the http://nvdla.org/vp_fpga.html, I am getting these errors:

./nvdla_runtime --loadable fast-math.nvdla --rawdump --image ../digits/three_invert.pgm

creating new runtime context...
Emulator starting
ppgminfo 1 28 28
pgm2dimg 1 28 28 1 32 896 896
(DLA_TEST) Error 0x00000002: Unexpected surface format 37, defaulting to D_F16_CxHWx_x16_F (in TestUtils.cpp, function Tensor2DIMG(), line 85)
submitting tasks...
[ 423.492297] Enter:dla_read_network_config
[ 423.493706] Exit:dla_read_network_config status=0
[ 423.494029] Enter: dla_initiate_processors
[ 423.494858] Enter: dla_submit_operation
[ 423.495108] Prepare Convolution operation index 0 ROI 0 dep_count 1
[ 423.495460] Enter: dla_prepare_operation
[ 423.495866] processor:Convolution group:0, rdma_group:0 available
[ 423.496270] Enter: dla_read_config
[ 423.506511] Exit: dla_read_config
[ 423.506825] Exit: dla_prepare_operation status=0
[ 423.507146] Enter: dla_program_operation
[ 423.507406] Program Convolution operation index 0 ROI 0 Group[0]
[ 423.512985] no desc get due to index==-1
[ 423.513954] no desc get due to index==-1
[ 423.514194] no desc get due to index==-1
[ 423.514428] no desc get due to index==-1
[ 423.514675] no desc get due to index==-1
[ 423.514946] Enter: dla_op_programmed
[ 423.515273] Update dependency operation index 1 ROI 0 DEP_COUNT=2
[ 423.515624] Update dependency operation index 64 ROI 0 DEP_COUNT=1
[ 423.515977] enable SDP in dla_update_dependency as depdency are resolved
[ 423.516358] Enter: dla_enable_operation
[ 423.518226] exit dla_enable_operation without actual enable due to processor hasn't been programmed
[ 423.518768] Exit: dla_enable_operation status=0
[ 423.519089] Exit: dla_op_programmed
[ 423.519314] Exit: dla_program_operation status=0
[ 423.519607] Exit: dla_submit_operation
[ 423.519952] Enter: dla_dequeue_operation
[ 423.520233] Dequeue op from Convolution processor, index=1 ROI=0
[ 423.522044] Enter: dla_submit_operation
[ 423.522321] Prepare Convolution operation index 1 ROI 0 dep_count 1
[ 423.522660] Enter: dla_prepare_operation
[ 423.522990] processor:Convolution group:1, rdma_group:0 available
[ 423.523338] Enter: dla_read_config
[ 423.532283] Exit: dla_read_config
[ 423.532652] Exit: dla_prepare_operation status=0
[ 423.533081] Enter: dla_program_operation
[ 423.533331] Program Convolution operation index 1 ROI 0 Group[1]
[ 423.536338] no desc get due to index==-1
[ 423.538459] no desc get due to index==-1
[ 423.538736] no desc get due to index==-1
[ 423.538971] no desc get due to index==-1
[ 423.539202] no desc get due to index==-1
[ 423.539432] Enter: dla_op_programmed
[ 423.539654] Update dependency operation index 2 ROI 0 DEP_COUNT=2
[ 423.539988] Update dependency operation index 65 ROI 0 DEP_COUNT=2
[ 423.540325] Exit: dla_op_programmed
[ 423.541982] Exit: dla_program_operation status=0
[ 423.542286] Exit: dla_submit_operation
[ 423.542544] Exit: dla_dequeue_operation
[ 423.542821] Enter: dla_submit_operation
[ 423.543060] Prepare SDP operation index 64 ROI 0 dep_count 0
[ 423.543372] Enter: dla_prepare_operation
[ 423.543728] processor:SDP group:0, rdma_group:0 available
[ 423.544030] Enter: dla_read_config
[ 423.553398] Exit: dla_read_config
[ 423.553706] Exit: dla_prepare_operation status=0
[ 423.554005] Enter: dla_program_operation
[ 423.554246] Program SDP operation index 64 ROI 0 Group[0]
[ 423.557711] no desc get due to index==-1
[ 423.557987] no desc get due to index==-1
[ 423.558675] no desc get due to index==-1
[ 423.558912] no desc get due to index==-1
[ 423.559169] Enter: dla_op_programmed
[ 423.559398] Update dependency operation index 65 ROI 0 DEP_COUNT=1
[ 423.559733] enable SDP in dla_update_dependency as depdency are resolved
[ 423.560085] Enter: dla_enable_operation
[ 423.560326] exit dla_enable_operation without actual enable due to processor hasn't been programmed
[ 423.562371] Exit: dla_enable_operation status=0
[ 423.562672] Exit: dla_op_programmed
[ 423.562901] Exit: dla_program_operation status=0
[ 423.563179] Enter: dla_enable_operation
[ 423.563456] Enable SDP operation index 64 ROI 0
[ 423.563970] Enter: dla_op_enabled
[ 423.564198] Update dependency operation index 0 ROI 0 DEP_COUNT=1
[ 423.565899] enable Convolution in dla_update_dependency as depdency are resolved
[ 423.566336] Enter: dla_enable_operation
[ 423.566571] Enable Convolution operation index 0 ROI 0
[ 423.567378] Enter: dla_op_enabled
[ 423.567602] Exit: dla_op_enabled
[ 423.567813] Exit: dla_enable_operation status=0
[ 423.568073] Exit: dla_op_enabled
[ 423.568275] Exit: dla_enable_operation status=0
[ 423.570124] Exit: dla_submit_operation
[ 423.570390] Enter: dla_dequeue_operation
[ 423.570632] Dequeue op from SDP processor, index=65 ROI=0
[ 423.570943] Enter: dla_submit_operation
[ 423.571176] Prepare SDP operation index 65 ROI 0 dep_count 0
[ 423.571480] Enter: dla_prepare_operation
[ 423.571845] processor:SDP group:1, rdma_group:1 available
[ 423.572155] Enter: dla_read_config
[ 423.581675] Exit: dla_read_config
[ 423.581930] Exit: dla_prepare_operation status=0
[ 423.582195] Enter: dla_program_operation
[ 423.582432] Program SDP operation index 65 ROI 0 Group[1]
[ 423.584106] no desc get due to index==-1
[ 423.584348] no desc get due to index==-1
[ 423.586586] no desc get due to index==-1
[ 423.586868] no desc get due to index==-1
[ 423.587105] Enter: dla_op_programmed
[ 423.587324] Update dependency operation index 66 ROI 0 DEP_COUNT=2
[ 423.587660] Exit: dla_op_programmed
[ 423.587874] Exit: dla_program_operation status=0
[ 423.588134] Enter: dla_enable_operation
[ 423.588410] Enable SDP operation index 65 ROI 0
[ 423.590315] Enter: dla_op_enabled
[ 423.590561] Update dependency operation index 1 ROI 0 DEP_COUNT=1
[ 423.590902] enable Convolution in dla_update_dependency as depdency are resolved
[ 423.591368] Enter: dla_enable_operation
[ 423.591597] Enable Convolution operation index 1 ROI 0
[ 423.592303] Enter: dla_op_enabled
[ 423.593782] Exit: dla_op_enabled
[ 423.594027] Exit: dla_enable_operation status=0
[ 423.594288] Exit: dla_op_enabled
[ 423.594490] Exit: dla_enable_operation status=0
[ 423.594759] Exit: dla_submit_operation
[ 423.594986] Exit: dla_dequeue_operation
[ 423.595212] Enter: dla_submit_operation
[ 423.595443] Prepare PDP operation index 128 ROI 0 dep_count 1
[ 423.595755] Enter: dla_prepare_operation
[ 423.596089] processor:PDP group:0, rdma_group:0 available
[ 423.596386] Enter: dla_read_config
[ 423.606259] Exit: dla_read_config
[ 423.606543] Exit: dla_prepare_operation status=0
[ 423.606840] Enter: dla_program_operation
[ 423.607080] Program PDP operation index 128 ROI 0 Group[0]
[ 423.607405] group id 0 rdma id 0
[ 423.607928] Invalid SrcInput Cude[W: 13824, H: 0, C: 24]
[ 423.607985] Exit: dla_program_operation status=-3
[ 423.610009] Exit: dla_submit_operation
[ 423.610296] Failed to submit PDP op from index 128
[ 423.610589] Exit: dla_initiate_processors status=-3
[ 423.610912] Task execution failed
NvDlaSubmit: Error IOCTL failed (No such process)
(DLA_RUNTIME) Error 0x0003000f: (propagating from Runtime.cpp, function submitInternal(), line 610)
(DLA_TEST) Error 0x00000004: runtime->submit() failed (in RuntimeTest.cpp, function runTest(), line 295)
(DLA_TEST) Error 0x00000004: (propagating from RuntimeTest.cpp, function run(), line 320)
(DLA_TEST) Error 0x00000004: (propagating from main.cpp, function launchTest(), line 87)

Can you kindly help me with this issue?

Thank you very much.

@Hassan313
Copy link
Author

These are the steps I am taking:

I first built an instance with the nvdla_vp_fpga_ami_ubuntu AMI.

I chose the f1.2xlarge instance type

https://github.com/aws/aws-fpga.git
cd aws-fpga
source sdk_setup.sh
lsmod | grep edma (Nothing was found)
cd sdk/linux_kernel_drivers/edma
make
echo 'edma' | sudo tee --append /lib/modules-load.d/edma.conf
sudo depmod
sudo modprobe edma-drv

ubuntu@ip-172-31-78-73:~/aws-fpga/sdk/linux_kernel_drivers/edma$ lsmod | grep edma
edma_drv 63459 0

cd

ubuntu@ip-172-31-78-73:~$ sudo fpga-clear-local-image -S 0
AFI 0 none cleared 1 ok 0 0x071417d3
AFIDEVICE 0 0x1d0f 0x1042 0000:00:1d.0

ubuntu@ip-172-31-78-73:~$ sudo fpga-load-local-image -S 0 -I agfi-09c2a21805a8b9257
AFI 0 agfi-09c2a21805a8b9257 loaded 0 ok 0 0x0729172b
AFIDEVICE 0 0x1d0f 0xf001 0000:00:1d.0

ubuntu@ip-172-31-78-73:~$ sudo fpga-clear-local-image -S 0
AFI 0 none cleared 1 ok 0 0x0729172b
AFIDEVICE 0 0x1d0f 0x1042 0000:00:1d.0

ubuntu@ip-172-31-78-73:~$ sudo fpga-describe-local-image -S 0 -H
Type FpgaImageSlot FpgaImageId StatusName StatusCode ErrorName ErrorCode ShVersion
AFI 0 none cleared 1 ok 0 0x0729172b
Type FpgaImageSlot VendorId DeviceId DBDF
AFIDEVICE 0 0x1d0f 0x1042 0000:00:1d.0

ubuntu@ip-172-31-78-73:~$ sudo fpga-load-local-image -S 0 -I agfi-05d68b424ef03f66e
AFI 0 agfi-05d68b424ef03f66e loaded 0 ok 0 0x04261818
AFIDEVICE 0 0x1d0f 0xf001 0000:00:1d.0

ubuntu@ip-172-31-78-73:~$ sudo fpga-describe-local-image -S 0 -R -H
Type FpgaImageSlot FpgaImageId StatusName StatusCode ErrorName ErrorCode ShVersion
AFI 0 agfi-05d68b424ef03f66e loaded 0 ok 0 0x04261818
Type FpgaImageSlot VendorId DeviceId DBDF
AFIDEVICE 0 0x1d0f 0xf001 0000:00:1d.0

sudo rmmod edma-drv

sudo insmod $SDK_DIR/linux_kernel_drivers/edma/edma-drv.ko

cd nvdla/vp

ubuntu@ip-172-31-78-73:~/nvdla/vp$ sudo ./aarch64_toplevel -c aarch64_nvdla.lua --fpga

         SystemC 2.3.0-ASI --- May  2 2018 09:09:43
    Copyright (c) 1996-2012 by all Contributors,
    ALL RIGHTS RESERVED

Error to open/read the config file: aarch64_nvdla.lua
Usage: ./aarch64_toplevel <option(s)>
Options:
-h,--help Show this help message
-c,--conf CONFIGURATION_FILE Specify the configuration file path --cosim Running with QEMU/RTL co-simulation --simv RTL simv file path. Only required with --cosim option --timeout Qemu wait timeout (simulation time in ns) with vcs. Only required with --cosim option --plusargs rtl simulation args. Only required with --cosim option --fpga Running with FPGA --slot_id FPGA slot id --vender_id FPGA vender id --device_id FPGA device id --msi_mask FPGA msi mask

ubuntu@ip-172-31-78-73:~/nvdla/vp$ sudo ./aarch64_toplevel -c conf/aarch64_nvdla.lua --fpga

         SystemC 2.3.0-ASI --- May  2 2018 09:09:43
    Copyright (c) 1996-2012 by all Contributors,
    ALL RIGHTS RESERVED

No sc_log specified, will use the default setting
verbosity_level = SC_MEDIUM
Initialize AWS FPGA with slot_id=0, pci_vendor_id=0x1d0f, pci_device_id=0xf001
AFI PCI Vendor ID: 0x1d0f, Device ID 0xf001
bridge: tlm2c_elaborate..
toplevel: -drive file=images/linux-4.13.3/rootfs.ext4,if=none,format=raw,id=hd0: Could not open 'images/linux-4.13.3/rootfs.ext4': No such file or directory

In the aarch64_nvdla.lua I changed two pathes:

-kernel images/linux-4.13.3/Image ---> -kernel /home/ubuntu/nvdla/sw/prebuilt/linux/Image
-drive file=images/linux-4.13.3/rootfs.ext4 ---> -drive file=/home/ubuntu/nvdla/sw/prebuilt/linux/rootfs.ext4

ubuntu@ip-172-31-78-73:~/nvdla/vp$ sudo ./aarch64_toplevel -c conf/aarch64_nvdla.lua --fpga

This commands enter the VP and I login in with root and nvdla.

mount -t 9p -o trans=virtio r /mnt

cd ../mnt

There is no sw/prebuilt/linux/ folders.

I copy the sw/prebuilt/linux folder to /home/ubuntu/nvdla/vp/Myspace path which I can have access throught the mnt folder.
I also copy the image of the digits to the Myspace folder. I also copy the fast-math.nvdla and output.protobuf files (which I had got these files with the compiler and have been able to successfully run them on the VP with the QEMU) to the /home/ubuntu/nvdla/vp/Myspace/linux folder.

cd /Myspace/linux

insmod drm.ko
insmod opendla_small.ko
[ 611.422471] opendla: loading out-of-tree module taints kernel.
[ 611.428288] reset engine done
[ 611.433010] [drm] Initialized nvdla 0.0.0 20171017 for 10200000.nvdla on minor 0

chmod a+x nvdla_runtime

./nvdla_runtime --loadable fast-math.nvdla --rawdump --image ../digits/three_i
nvert.pgm

creating new runtime context...
Emulator starting
ppgminfo 1 28 28
pgm2dimg 1 28 28 1 32 896 896
(DLA_TEST) Error 0x00000002: Unexpected surface format 37, defaulting to D_F16_CxHWx_x16_F (in TestUtils.cpp, function Tensor2DIMG(), line 85)
submitting tasks...
[ 1036.396958] Enter:dla_read_network_config
[ 1036.398246] Exit:dla_read_network_config status=0
[ 1036.398574] Enter: dla_initiate_processors
[ 1036.399404] Enter: dla_submit_operation
[ 1036.399668] Prepare Convolution operation index 0 ROI 0 dep_count 1
[ 1036.400036] Enter: dla_prepare_operation
[ 1036.400446] processor:Convolution group:0, rdma_group:0 available
[ 1036.402776] Enter: dla_read_config
[ 1036.411731] Exit: dla_read_config
[ 1036.412046] Exit: dla_prepare_operation status=0
[ 1036.412368] Enter: dla_program_operation
[ 1036.413697] Program Convolution operation index 0 ROI 0 Group[0]
[ 1036.419052] no desc get due to index==-1
[ 1036.420128] no desc get due to index==-1
[ 1036.420369] no desc get due to index==-1
[ 1036.420598] no desc get due to index==-1
[ 1036.421925] no desc get due to index==-1
[ 1036.422217] Enter: dla_op_programmed
[ 1036.422551] Update dependency operation index 1 ROI 0 DEP_COUNT=2
[ 1036.422904] Update dependency operation index 64 ROI 0 DEP_COUNT=1
[ 1036.423257] enable SDP in dla_update_dependency as depdency are resolved
[ 1036.423638] Enter: dla_enable_operation
[ 1036.423913] exit dla_enable_operation without actual enable due to processor hasn't been programmed
[ 1036.424400] Exit: dla_enable_operation status=0
[ 1036.426172] Exit: dla_op_programmed
[ 1036.426449] Exit: dla_program_operation status=0
[ 1036.426763] Exit: dla_submit_operation
[ 1036.427121] Enter: dla_dequeue_operation
[ 1036.427415] Dequeue op from Convolution processor, index=1 ROI=0
[ 1036.427819] Enter: dla_submit_operation
[ 1036.428080] Prepare Convolution operation index 1 ROI 0 dep_count 1
[ 1036.428424] Enter: dla_prepare_operation
[ 1036.430289] processor:Convolution group:1, rdma_group:0 available
[ 1036.430685] Enter: dla_read_config
[ 1036.438657] Exit: dla_read_config
[ 1036.440006] Exit: dla_prepare_operation status=0
[ 1036.440310] Enter: dla_program_operation
[ 1036.440572] Program Convolution operation index 1 ROI 0 Group[1]
[ 1036.444511] no desc get due to index==-1
[ 1036.446388] no desc get due to index==-1
[ 1036.446661] no desc get due to index==-1
[ 1036.446912] no desc get due to index==-1
[ 1036.447143] no desc get due to index==-1
[ 1036.447406] Enter: dla_op_programmed
[ 1036.447657] Update dependency operation index 2 ROI 0 DEP_COUNT=2
[ 1036.448039] Update dependency operation index 65 ROI 0 DEP_COUNT=2
[ 1036.448397] Exit: dla_op_programmed
[ 1036.448630] Exit: dla_program_operation status=0
[ 1036.450448] Exit: dla_submit_operation
[ 1036.450715] Exit: dla_dequeue_operation
[ 1036.450981] Enter: dla_submit_operation
[ 1036.451225] Prepare SDP operation index 64 ROI 0 dep_count 0
[ 1036.451541] Enter: dla_prepare_operation
[ 1036.451920] processor:SDP group:0, rdma_group:0 available
[ 1036.452243] Enter: dla_read_config
[ 1036.461796] Exit: dla_read_config
[ 1036.462126] Exit: dla_prepare_operation status=0
[ 1036.462456] Enter: dla_program_operation
[ 1036.462706] Program SDP operation index 64 ROI 0 Group[0]
[ 1036.466305] no desc get due to index==-1
[ 1036.466603] no desc get due to index==-1
[ 1036.467255] no desc get due to index==-1
[ 1036.467498] no desc get due to index==-1
[ 1036.467757] Enter: dla_op_programmed
[ 1036.468004] Update dependency operation index 65 ROI 0 DEP_COUNT=1
[ 1036.468348] enable SDP in dla_update_dependency as depdency are resolved
[ 1036.470062] Enter: dla_enable_operation
[ 1036.470359] exit dla_enable_operation without actual enable due to processor hasn't been programmed
[ 1036.470855] Exit: dla_enable_operation status=0
[ 1036.471125] Exit: dla_op_programmed
[ 1036.471341] Exit: dla_program_operation status=0
[ 1036.471617] Enter: dla_enable_operation
[ 1036.471911] Enable SDP operation index 64 ROI 0
[ 1036.472465] Enter: dla_op_enabled
[ 1036.474175] Update dependency operation index 0 ROI 0 DEP_COUNT=1
[ 1036.474556] enable Convolution in dla_update_dependency as depdency are resolved
[ 1036.475017] Enter: dla_enable_operation
[ 1036.475278] Enable Convolution operation index 0 ROI 0
[ 1036.476146] Enter: dla_op_enabled
[ 1036.476376] Exit: dla_op_enabled
[ 1036.476596] Exit: dla_enable_operation status=0
[ 1036.478765] Exit: dla_op_enabled
[ 1036.479019] Exit: dla_enable_operation status=0
[ 1036.479333] Exit: dla_submit_operation
[ 1036.479568] Enter: dla_dequeue_operation
[ 1036.479810] Dequeue op from SDP processor, index=65 ROI=0
[ 1036.480147] Enter: dla_submit_operation
[ 1036.480386] Prepare SDP operation index 65 ROI 0 dep_count 0
[ 1036.482079] Enter: dla_prepare_operation
[ 1036.482522] processor:SDP group:1, rdma_group:1 available
[ 1036.482864] Enter: dla_read_config
[ 1036.491304] Exit: dla_read_config
[ 1036.492790] Exit: dla_prepare_operation status=0
[ 1036.493097] Enter: dla_program_operation
[ 1036.493368] Program SDP operation index 65 ROI 0 Group[1]
[ 1036.495199] no desc get due to index==-1
[ 1036.495442] no desc get due to index==-1
[ 1036.496511] no desc get due to index==-1
[ 1036.498021] no desc get due to index==-1
[ 1036.498303] Enter: dla_op_programmed
[ 1036.498556] Update dependency operation index 66 ROI 0 DEP_COUNT=2
[ 1036.498944] Exit: dla_op_programmed
[ 1036.499186] Exit: dla_program_operation status=0
[ 1036.499484] Enter: dla_enable_operation
[ 1036.499764] Enable SDP operation index 65 ROI 0
[ 1036.500242] Enter: dla_op_enabled
[ 1036.500463] Update dependency operation index 1 ROI 0 DEP_COUNT=1
[ 1036.502368] enable Convolution in dla_update_dependency as depdency are resolved
[ 1036.502865] Enter: dla_enable_operation
[ 1036.503118] Enable Convolution operation index 1 ROI 0
[ 1036.503905] Enter: dla_op_enabled
[ 1036.504121] Exit: dla_op_enabled
[ 1036.504348] Exit: dla_enable_operation status=0
[ 1036.504625] Exit: dla_op_enabled
[ 1036.506210] Exit: dla_enable_operation status=0
[ 1036.506478] Exit: dla_submit_operation
[ 1036.506731] Exit: dla_dequeue_operation
[ 1036.506965] Enter: dla_submit_operation
[ 1036.507231] Prepare PDP operation index 128 ROI 0 dep_count 1
[ 1036.507561] Enter: dla_prepare_operation
[ 1036.507931] processor:PDP group:0, rdma_group:0 available
[ 1036.508239] Enter: dla_read_config
[ 1036.518394] Exit: dla_read_config
[ 1036.518690] Exit: dla_prepare_operation status=0
[ 1036.518978] Enter: dla_program_operation
[ 1036.519252] Program PDP operation index 128 ROI 0 Group[0]
[ 1036.519621] group id 0 rdma id 0
[ 1036.520175] Invalid SrcInput Cude[W: 13824, H: 0, C: 24]
[ 1036.520237] Exit: dla_program_operation status=-3
[ 1036.522171] Exit: dla_submit_operation
[ 1036.522468] Failed to submit PDP op from index 128
[ 1036.522795] Exit: dla_initiate_processors status=-3
[ 1036.523133] Task execution failed
NvDlaSubmit: Error IOCTL failed (No such process)
(DLA_RUNTIME) Error 0x0003000f: (propagating from Runtime.cpp, function submitInternal(), line 610)
(DLA_TEST) Error 0x00000004: runtime->submit() failed (in RuntimeTest.cpp, function runTest(), line 295)
(DLA_TEST) Error 0x00000004: (propagating from RuntimeTest.cpp, function run(), line 320)
(DLA_TEST) Error 0x00000004: (propagating from main.cpp, function launchTest(), line 87)

@Hassan313
Copy link
Author

I also ran this sanity test, and the test pass:

insmod opendla_small.ko

[ 51.653664] opendla: loading out-of-tree module taints kernel.
[ 51.660182] reset engine done
[ 51.665019] [drm] Initialized nvdla 0.0.0 20171017 for 10200000.nvdla on minor 0

./nvdla_runtime --loadable ../regression/flatbufs/kmd/CDP/CDP_L0_0_small_fbuf

creating new runtime context...
Emulator starting
submitting tasks...
[ 63.507728] Enter:dla_read_network_config
[ 63.509000] Exit:dla_read_network_config status=0
[ 63.509322] Enter: dla_initiate_processors
[ 63.510124] Enter: dla_submit_operation
[ 63.510381] Prepare CDP operation index 0 ROI 0 dep_count 0
[ 63.510699] Enter: dla_prepare_operation
[ 63.512771] processor:CDP group:0, rdma_group:0 available
[ 63.513194] Enter: dla_read_config
[ 63.521892] Exit: dla_read_config
[ 63.522211] Exit: dla_prepare_operation status=0
[ 63.522571] Enter: dla_program_operation
[ 63.522829] Program CDP operation index 0 ROI 0 Group[0]
[ 63.524503] Enter: dla_cdp_program
[ 63.524664] Enter: processor_cdp_program
[ 63.547704] Exit: processor_cdp_program
[ 63.547747] Exit: dla_cdp_program
[ 63.548059] no desc get due to index==-1
[ 63.548522] no desc get due to index==-1
[ 63.548756] no desc get due to index==-1
[ 63.548984] no desc get due to index==-1
[ 63.549214] no desc get due to index==-1
[ 63.549441] no desc get due to index==-1
[ 63.549682] no desc get due to index==-1
[ 63.549928] Enter: dla_op_programmed
[ 63.550251] Exit: dla_op_programmed
[ 63.550480] Exit: dla_program_operation status=0
[ 63.550787] Enter: dla_enable_operation
[ 63.553378] Enable CDP operation index 0 ROI 0
[ 63.553821] Enter: dla_cdp_enable
[ 63.554154] Exit: dla_cdp_enable
[ 63.554395] Enter: dla_op_enabled
[ 63.554627] Exit: dla_op_enabled
[ 63.554852] Exit: dla_enable_operation status=0
[ 63.556442] Exit: dla_submit_operation
[ 63.556836] Enter: dla_dequeue_operation
[ 63.557123] exit CDP as there's no further operation
[ 63.557430] Exit: dla_dequeue_operation
[ 63.557696] Exit: dla_initiate_processors status=0
[ 63.587589] Enter:dla_handle_events, processor:BDMA
[ 63.588081] Exit:dla_handle_events, ret:0
[ 63.588426] Enter:dla_handle_events, processor:Convolution
[ 63.588830] Exit:dla_handle_events, ret:0
[ 63.589132] Enter:dla_handle_events, processor:SDP
[ 63.589482] Exit:dla_handle_events, ret:0
[ 63.589788] Enter:dla_handle_events, processor:PDP
[ 63.590137] Exit:dla_handle_events, ret:0
[ 63.590447] Enter:dla_handle_events, processor:CDP
[ 63.590823] Handle op complete event, processor CDP group 0
[ 63.591300] Enter:dla_op_completion processor CDP group0
[ 63.591685] Completed CDP operation index 0 ROI 0
[ 63.592124] 1 HWLs done, totally 1 layers
[ 63.592487] Enter: dla_free_op_desc op desc index 0 ROI 0
[ 63.593316] Exit: dla_free_op_desc
[ 63.593633] Exit:dla_op_completion processor CDP group0 status=0
[ 63.594069] Exit:dla_handle_events, ret:0
[ 63.594364] Enter:dla_handle_events, processor:RUBIK
[ 63.594715] Exit:dla_handle_events, ret:0
[ 63.597989] reset engine done
Test pass

@minils
Copy link

minils commented Jul 8, 2021

@Hassan313 Did you finally fix it?

@Hassan313
Copy link
Author

@minils Hi, I am not sure. Because of the errors I was getting, I did not continue with FPGAs.
Good Luck
Hassan
P.S. Sorry for the late reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants