-
Notifications
You must be signed in to change notification settings - Fork 44
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
OpenCL error -13 on Ubuntu 14.04 and beignet #6
Comments
Hi @OliverUrbann |
I tried it on a Atom J1900 with z3700 GPU in an embedded system. We cannot use other GPUs so the OpenCL port would be a great way to execute YOLO on that system. Anyway, thx for the explanation. |
@ganyc717 I managed to compile and run darkness_cl on AMD Radeon GPU by adding some memory alignment codes but getting wrong detection result compared with CPU version. I hope you to explain design of CLArray. Can you leave some notes for it? To my understanding, it seems like making slices of given large continuous memory block. If we can focus on continuity, how about using SVM(Shared Virtual Memory) from OpenC L2.0? |
Hi @mhahn0106 |
Hi @OliverUrbann @mhahn0106 |
Awesome. Looks good. Will test on my box and let you know. |
That's great, thx a lot for your efforts. However: -- Looking for CL_VERSION_2_1 - not found So I have OpenCL 2.0. And get: gemm.cpp:(.text+0x77f): Nicht definierter Verweis auf It's german for undefined reference to. I'm a bit confused. According to the beignet doc OpenCL 2.0 is only supported on Skylake and up, so that would explain this, abut not why OpenCL 2.0 is found. |
"CL_MISALIGNED_SUB_BUFFER_OFFSET, means when you create a sub buffer from a GPU buffer, there is limitations on the offset alignment." Can you explain what this means to me in more detail. What do you mean by limitations of offset alignment. Can you provide a simple example? |
@soulslicer |
@ganyc717 |
@chenxian9999 |
Thx a lot. |
i too am getting error -13 has there been a fix yet? `im2col_kernels.cl build log: opencl execution error, code -13 -13 |
Used current clBLAS as the provided .so leads to many linker errors. darknet_cl compiles now but executing
build/darknet_cl detect cfg/yolo.cfg yolo.weights data/dog.jpg
leads to some warnings and -13:
31 detection
mask_scale: Using default '1.000000'
Beignet: "unable to find good values for local_work_size[i], please provide\n" " local_work_size[] explicitly, you can find good values with\n" " trial-and-error method."
Loading weights from yolo.weights...Done!
im2col_kernels.cl build log:
stringInput.cl:36:18: warning: '/*' within block comment
activation_kernels.cl build log:
stringInput.cl:21:12: warning: double precision constant requires cl_khr_fp64, casting to single precision
opencl execution error, code -13 -13
terminate called after throwing an instance of 'std::runtime_error'
what(): OpenCL error, code: -13
[1] 9856 abort (core dumped) build/darknet_cl detect cfg/yolo.cfg yolo.weights data/dog.jpg
The text was updated successfully, but these errors were encountered: