-
Notifications
You must be signed in to change notification settings - Fork 757
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
tnn目前不支持opencl3.0吗 #1954
Comments
请问解决了吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tnn的模型对其工具采用默认opencl版本编译,板子使用opencl3.0库,执行检查工具报错如下:
root@NVTEVM:/mnt/sd$ ./model_check -p SqueezeNet/squeezenet_v1.1.tnnproto -m SqueezeNet/squeezenet_v1.1.tnnmodel -d OPENCL
proto: SqueezeNet/squeezenet_v1.1.tnnproto
model: SqueezeNet/squeezenet_v1.1.tnnmodel
device: OPENCL
init model config success!
tnn precision 1
I/tnn: Init [File source/tnn/device/opencl/opencl_runtime.cc][Line 120] OpenCL version: CL_TARGET_OPENCL_VERSION 200 CL_HPP_TARGET_OPENCL_VERSION 120 CL_HPP_MINIMUM_OPENCL_VERSION 110
E/tnn: LoadLibraryFromPath [File source/tnn/device/opencl/opencl_wrapper.cc][Line 257] load func (clEnqueueAcquireGLObjects) from (/usr/lib/libOpenCL.so) failed!
E/tnn: LoadLibraryFromPath [File source/tnn/device/opencl/opencl_wrapper.cc][Line 258] load func (clEnqueueReleaseGLObjects) from (/usr/lib/libOpenCL.so) failed!
E/tnn: LoadLibraryFromPath [File source/tnn/device/opencl/opencl_wrapper.cc][Line 259] load func (clCreateFromGLTexture) from (/usr/lib/libOpenCL.so) failed!
I/tnn: Init [File source/tnn/device/opencl/opencl_runtime.cc][Line 167] Create common opencl context
E/tnn: FeedInputData [File tools/model_check/model_checker.cc][Line 483] Generate Random input...
./model_check: symbol lookup error: ./model_check: undefined symbol: ZN3tnn8Instance19ForwardWithCallbackESt8functionIFvRSt6vectorIPNS_4BlobESaIS4_EEPNS_9LayerInfoEEESB
看着像是版本问题导致的函数加载不成功,请问tnn是否目前尚未支持opencl3.0?
The text was updated successfully, but these errors were encountered: