tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-tvm] zchuang11 opened a new issue #5024: opencl_android_rpc_error
Date Tue, 10 Mar 2020 11:26:13 GMT
zchuang11 opened a new issue #5024: opencl_android_rpc_error
URL: https://github.com/apache/incubator-tvm/issues/5024
 
 
   I tried debug the resnet model with relay, arm64-cpu on rpc app is ok, but opencl with
errors:
   tvm._ffi.base.TVMError: Traceback (most recent call last):
                                                                                   ^~~
      compute[((((int)get_group_id(0)) * 256) + ((int)get_local_id(0)))] = max(min(max((placeholder[((((int)get_group_id(0))
* 256) + ((int)get_local_id(0)))] + placeholder1[((((int)get_group_id(0)) * 256) + ((int)get_local_id(0)))]),
(char)0), (char)127), (char)-127);
   TVMError: Except caught from RPC call: [19:12:17] D:/Desktop/tvm_gpu_rpc/tvm_gpu_rpc/app/src/main/cpp/src/runtime/library_module.cc:91:
Check failed: ret == 0 (-1 vs. 0) : [19:12:17] D:/Desktop/tvm_gpu_rpc/tvm_gpu_rpc/app/src/main/cpp/src/runtime/opencl/opencl_module.cc:234:
OpenCL build error for device=0x7bd92eebb8BC-src-code:918:80:{918:80-918:83}: error: call
to builtin 'max' is ambiguous due to multiple possible argument type matches
   BC-src-code:922:80:{922:80-922:83}: error: call to builtin 'max' is ambiguous due to multiple
possible argument type matches
      compute[((((int)get_group_id(0)) * 256) + ((int)get_local_id(0)))] = max(min(max((placeholder[((((int)get_group_id(0))
* 256) + ((int)get_local_id(0)))] + placeholder1[((((int)get_group_id(0)) * 256) + ((int)get_local_id(0)))]),
(char)0), (char)127), (char)-127);

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message