I wanna run the deeplab models on my armv8 device with GPU through using the sycl. But I got stuck there.
I have already built from source then installed the Tensorflow wheel on my firefly RK3399 device and no errors happened. But when I run the tensorflow model with the line:
with sv.managed_session(FLAGS.master,config=config,start_standard_services=False) as sess:
a crash invoked as follows:
termintate called after throwing an instance of 'cl::sycl::compile_program_error'
then I switched to the traditional method
with tf.Session() as sess:
and when I run sess.run()
the same error came.
I have also checked the error_code on the
site:
But I have no idea to solve this, what's the real reason, how to handle this if I got "Error while compiling the SYCL kernel to a SYCL device".
Configuration
- CPU aarch64
- GPU Mali-T860
- OS ubuntu 16.04
- DEVICE Firefly rk3399
- SOFTWARE tensorflow-1.6.0 bazel-0.11.1 computeCpp-1.0.0 python2.7.12 gcc-5.4.0
Here is my computecpp_info outputs:
firefly@firefly:/usr/local/computecpp/bin$ ./computecpp_info
ComputeCpp Info (CE 1.0.0)
SYCL 1.2.1 revision 3
Toolchain information:
GLIBC version: 2.23 GLIBCXX: 20160609 This version of libstdc++ is supported.
Device Info:
Discovered 1 devices matching: platform : device type :
Device 0:
Device is supported : NO - Device does not support SPIR
CL_DEVICE_NAME : Mali-T860
CL_DEVICE_VENDOR : ARM
CL_DRIVER_VERSION : 1.2
CL_DEVICE_TYPE : CL_DEVICE_TYPE_GPU
If you encounter problems when using any of these OpenCL devices, please consult this website for known issues: https://computecpp.codeplay.com/releases/v1.0.0/platform-support-notes
I got the highlight warning of Device is supported : NO - Device does not support SPIR
, but the instructions told me that's ok! So I didn't mind that, Should it be an issue?