Skip to content
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

Error when accessing kernel file: basic_ios::clear #4

Open
soulslicer opened this issue Oct 18, 2016 · 15 comments
Open

Error when accessing kernel file: basic_ios::clear #4

soulslicer opened this issue Oct 18, 2016 · 15 comments

Comments

@soulslicer
Copy link

Loading 1st point cloud from ../data/kg_pc8d_1.bin
Loading 2nd point cloud from ../data/kg_pc8d_2.bin
Error when accessing kernel file: basic_ios::clear (/home/ac2-vision/ICP/build/external/CLUtils/src/CLUtils/src/CLUtils.cpp:224)

@soulslicer
Copy link
Author

I cant even get your clutils to work

./bin/clutils_tests

gives me Failed. I have OpenCL installed on my system and i have coded too in that and it all works

@nlamprian
Copy link
Owner

This is because it cannot find the kernel files. Please make sure your working directory is the build folder and within the build folder there is the kernels folder with all the kernels.

Soon, I'll start working on the project again. Please let me know of any other issues you might have and I'll look into them.

@soulslicer
Copy link
Author

soulslicer commented Oct 18, 2016

Okay..thank you for replying. I seem to have gotten it to get past that..but now I get this error:

clCreateKernel (CL_INVALID_KERNEL_NAME)

It looks like you are creating the kernels with the file name appended with some number. Is that allowed with opencl such a complex name?

@nlamprian
Copy link
Owner

I'm not sure I follow. If you are referring to CLUtils and tests.cpp, there are 2 kernel files, kernels.cl and kernels2.cl, so the names are ok.

@soulslicer
Copy link
Author

soulslicer commented Oct 18, 2016

Basically, I attempt to run the icp_registration example

Available Controls:
===================
 Perform ICP Registration :  T
 Reset Transformation     :  R
 Rotate                   :  Mouse Left Button
 Zoom In/Out              :  Mouse Wheel
 Quit                     :  Q or Esc

Loading 1st point cloud from ../data/kg_pc8d_1.bin
Loading 2nd point cloud from ../data/kg_pc8d_2.bin
clCreateKernel (CL_INVALID_KERNEL_NAME)

and it crashes over here

@soulslicer
Copy link
Author

soulslicer commented Oct 18, 2016

doesn't seem to go past this line

icp = new ICPReg<RC, WC> (&glPC4DBuffer, &glRGBABuffer);

When I print the kernel names i only see this

reduce_min_f;reduce_max_ui
reduce_min_f;reduce_max_ui;reduce_sum_f

@nlamprian
Copy link
Owner

Unfortunately, this doesn't tell me much. I'll be able to get back with more information as soon as I start working on it again.

In the meantime, you can try running things from the bottom (CLUtils, GuidedFilter, RBC) and see if they execute ok.

@soulslicer
Copy link
Author

It's okay, i do not have much time to test further as i need to move forward. looked very promising though. I would definitely spend more time on it if there was PCL integration. If possible maybe you can attempt to run this too and see if it works? I am using a GTX 1070 with OpenCL 1.2 btw

@nlamprian
Copy link
Owner

My goal, after some debugging and refactoring, is to add ROS integration. So naturally, PCL will get in the game too.
I don't have access to a nvidia card. I wouldn't be surprised if this was causing a problem (perhaps some issue with OpenGL?).

@soulslicer
Copy link
Author

That sounds good. Any ETA on that? What GPU are you using though?

Also invalid kernel name usually points to the fact that the kernel name is not found as a function inside the kernel right?

@nlamprian
Copy link
Owner

I can't give you a reliable ETA, since I won't be having dedicated time for working on the project. Hopefully, I will start delivering within November. I'm using a R9 390.

It's possible. I can't say more, unless I know the specific error code and line that produced the error.

@soulslicer
Copy link
Author

Also can I check does this work on an unorganized cloud

On Wednesday, October 19, 2016, Nick Lamprianidis notifications@github.com
wrote:

I can't give you a reliable ETA, since I won't be having dedicated time
for working on the project. Hopefully, I will start delivering within
November. I'm using a R9 390.

It's possible. I can't say more, unless I know the specific error code and
line that produced the error.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#4 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ADC5bJuujpeWEt-RpHA41LUR0f6346ewks5q1d7bgaJpZM4KZlp5
.

@nlamprian
Copy link
Owner

It all depends on the initial estimate of the transformation. But I wouldn't expect much at this stage.

@soulslicer
Copy link
Author

ah ic so it does thats nice. well if you or anyone ever gets to test on this the new generation of nvidia gpu's (1060 and above) and gets it to work let me know

@soulslicer
Copy link
Author

Okay, so I cloned and tested your code with my old GTX 760 Ti with OpenCL 1.2. Exact same error, I believe some bug has perhaps been pushed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants