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

A probability issue relate with CUDA10 #6

Open
lucasjinreal opened this issue May 8, 2019 · 3 comments
Open

A probability issue relate with CUDA10 #6

lucasjinreal opened this issue May 8, 2019 · 3 comments

Comments

@lucasjinreal
Copy link

I know cuda10 is new but since I am using tensorflow 2.0 apis so move on cuda10 is the eventually things, this codes now can not built on cuda10, it has this error:

apollo_perception_ros/src/cuda_util/util.cu(155): error: incomplete type is not allowed

this file, this line, and only 1 error. Does this can be fix for cuda10 compatible?

@cedricxie
Copy link
Owner

Hello @jinfagang , I haven't tried cuda 10, but I have doubts about it since the static models that come with apollo might not be easily adjusted to a newer version of cuda.

@CodingSmith
Copy link

I know cuda10 is new but since I am using tensorflow 2.0 apis so move on cuda10 is the eventually things, this codes now can not built on cuda10, it has this error:

apollo_perception_ros/src/cuda_util/util.cu(155): error: incomplete type is not allowed

this file, this line, and only 1 error. Does this can be fix for cuda10 compatible?

I met the same issue with CUDA10, and I solve this issue by adding below into util.cu,

#include <opencv2/core/core.hpp>
#include <opencv2/opencv.hpp>

Hopefully, you problem could be solved as well.

@liuqf0425
Copy link

@CodingSmith @jinfagang I met the same error too, and the error was indeed related to OpenCV. After including the heading files of opencv, the error would no more occurs.

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

4 participants