ComputeLibrary
ComputeLibrary copied to clipboard
Custom convolution mismatches observed between GPU and NEON outputs (ACL version 17.10)
Hi Sir,
When executing ACL GPU for custom convolution 3x3 kernel, GPU output is mismatching with NEON output. NEON output is matching with OpenVx reference implementation . Attaching the Sample test app, logs for reproducing the issue .
Version of ACL : 17.10
PLease help us in resolving the GPU issue.
Thanks, Vinith customConvolution_gpu_neon_op_mismatch.txt cl_custconv_test.txt
Same here, here is the result on HiKey:
root@acl_hikey_dev:~/tmp/antbar01/release/build/linux-arm64-v8a-neon-cl-debug# LD_LIBRARY_PATH=. ./examples/cl_custconv_test 16 16
./examples/cl_custconv_test
******Input Image *******
103 198 105 115 81 255 74 236 41 205 186 171 242 251 227 70
124 194 84 248 27 232 231 141 118 90 46 99 51 159 201 154
102 50 13 183 49 88 163 90 37 93 5 23 88 233 94 212
171 178 205 198 155 180 84 17 14 130 116 65 33 61 220 135
112 233 62 161 65 225 252 103 62 1 126 151 234 220 107 150
143 56 92 42 236 176 59 251 50 175 60 84 236 24 219 92
2 26 254 67 251 250 170 58 251 41 209 230 5 60 124 148
117 216 190 97 137 249 92 187 168 153 15 149 177 235 241 179
5 239 247 0 233 161 58 229 202 11 203 208 72 71 100 189
31 35 30 168 28 123 100 197 20 115 90 197 94 75 121 99
59 112 100 36 17 158 9 220 170 212 172 242 27 16 175 59
51 205 227 80 72 71 21 92 187 111 34 25 186 155 125 245
11 225 26 28 127 35 248 41 248 164 27 19 181 202 78 232
152 50 56 224 121 77 61 52 188 95 78 119 250 203 108 5
172 134 33 43 170 26 85 162 190 112 181 115 59 4 92 211
54 148 179 175 226 240 228 158 79 50 21 73 253 130 78 169
******Output Image *******
61 70 87 58 0 255 0 255 0 158 255 141 74 255
147 255 146 255 0 240 179 100 125 111 12 132 255 0
0 255 0 255 157 0 240 55 136 58 195 212 0 255
255 0 255 0 86 255 0 255 0 252 87 0 255 0
0 165 118 255 144 0 255 0 255 0 0 255 0 255
40 255 78 125 0 255 0 255 0 255 255 0 255 0
152 0 255 0 255 126 255 0 255 0 8 255 0 71
104 255 0 255 0 232 0 255 0 255 0 178 222 66
34 0 255 0 0 255 67 8 255 76 37 255 147 7
52 183 28 165 159 0 80 46 0 42 225 0 110 255
0 217 0 34 186 55 255 203 131 255 0 255 87 0
255 49 47 255 0 255 0 18 170 82 215 26 254 19
0 153 255 0 255 0 255 82 199 66 105 28 49 255
172 218 23 255 90 135 233 4 0 192 255 0 209 198
Test passed
When cleaned and reflashed all the binaries to the Target, it works fine. Hence closing this issue as of now. If there are any clarification will get back