i have print kennel in opencl_module.cc,It looks like there is a problem of 
symbol mismatch。

    __kernel void resize2d_kernel0(__global uchar* restrict resize, __global 
uchar* restrict A) {
      for (int i0_i1_fused_i2_fused_i3_fused_outer = 0; 
i0_i1_fused_i2_fused_i3_fused_outer < 384; 
++i0_i1_fused_i2_fused_i3_fused_outer) {
        if ((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) < 25159680) {
          resize[((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))))] = 
((uchar)((((((float)A[((((max(min(((int)floor((1.250000e-01f * 
((float)((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) / 6048))))), 519), 0) 
* 756) + (max(min(((int)floor((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))))), 
251), 0) dƩ) + ((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 3)))]) * 
(1.000000e+00f - ((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))) - 
((float)((int)floor((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))))))))) 
+ (((float)A[((((max(min(((int)floor((1.250000e-01f * 
((float)((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) / 6048))))), 519), 0) 
* 756) + (max(min((((int)floor((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))))) + 
1), 251), 0) * 3)) + ((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 3)))]) * 
((1.250000e-01f * ((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))) - 
((float)((int)floor((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))))))))) 
* (1.000000e+00f - ((1.250000e-01f * 
((float)((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) / 6048))) - 
((float)((int)floor((1.250000e-01f * 
((float)((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) / 6048))))))))) + 
(((((float)A[((((max(min((((int)floor((1.250000e-01f * 
((float)((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) / 6048))))) + 1), 
519), 0) * 756) + (max(min(((int)floor((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))))), 
251), 0) * 3)) + ((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 3)))]) * 
(1.000000e+00f - ((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))) - 
((float)((int)floor((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))))))))) 
+ (((float)A[((((max(min((((int)floor((1.250000e-01f * 
((float)((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) / 6048))))) + 1), 
519), 0) * 756) + (max(min((((int)floor((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))))) + 
1), 251), 0) * 3)) + ((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 3)))]) * 
((1.250000e-01f * ((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))) - 
((float)((int)floor((1.250000e-01f * 
((float)(((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) % 6048) / 3))))))))) 
* ((1.250000e-01f * ((float)((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) / 6048))) - 
((float)((int)floor((1.250000e-01f * 
((float)((((i0_i1_fused_i2_fused_i3_fused_outer * 65536) + 
(((int)get_group_id(0)) * 256)) + ((int)get_local_id(0))) / 6048))))))))));
        }
      }
    }





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/check-failed-ret-0-1-vs-0-tvmerror-opencl-build-error-for-device-0x79f8964678-bc-src-code521-error-expected/10838/3)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/e642a38a0e06551a7d9996e6860aa92990ea267facf53c786a92ae3ffa5cbe96).

Reply via email to