-
Notifications
You must be signed in to change notification settings - Fork 118
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
CUDA error "cudaMallocManaged(&kpLoc, sizeof(short2) * maxKeypoints)" #6
Comments
From NVIDIA's document, it looks like you don't have CUDA installed or version not supported.
I have not encountered this error before, but the program works on TX1 as well as laptop with NVIDIA GPU. You might want to try running CUDA examples first, as explained in this thread. |
First of all, thank you. ubuntu@ubuntu-Precision-Tower-5810:~/NVIDIA_CUDA-8.0_Samples/5_Simulations/fluidsGL$ ./fluidsGL NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled. CUDA device [NVS 315] has 1 Multi-Processors It does not turn out cudaErrorNotSupported = 71.Is that mean I install the right version? ubuntu@ubuntu-Precision-Tower-5810:~/NVIDIA_CUDA-8.0_Samples/1_Utilities/deviceQuery$ ./deviceQuery CUDA Device Query (Runtime API) version (CUDART static linking) Detected 1 CUDA Capable device(s) Device 0: "NVS 315" deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.1, CUDA Runtime Version = 8.0, NumDevs = 1, Device0 = NVS 315 I'm every new about CUDA,hope you help me ,thanks a lot . |
I encountered a similar problem, it maybe your OpenCV GPU version is not correct. |
Hello,
I can build the build.sh .when I try to use ORB_slam_cuda to run dateset,it terminal came error.
ubuntu@ubuntu-Precision-Tower-5810:~/ORB_SLAM2_CUDA-master$ ./build/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUM1.yaml /home/ubuntu/ORB_SLAM2_CUDA-master/rgbd_dataset_freiburg1_room/ /home/ubuntu/ORB_SLAM2_CUDA-master/rgbd_dataset_freiburg1_room/associate.txt
ORB-SLAM2 Copyright (C) 2014-2016 Raul Mur-Artal, University of Zaragoza.
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt.
Input sensor was set to: RGB-D
Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!
Camera Parameters:
CUDA error at /home/ubuntu/ORB_SLAM2_CUDA-master/src/cuda/Fast_gpu.cu:318 code=71(cudaErrorNotSupported) "cudaMallocManaged(&kpLoc, sizeof(short2) * maxKeypoints)"
Can you tell me how to solve it ? and is this program only for TX1?
Thank you very much for your help.
The text was updated successfully, but these errors were encountered: