Skip to content

Got CUDA error from cuda-image when trying the sample program. #1

@tosqzhang

Description

@tosqzhang

Hi,
I tried the sample program on my Ubuntu 18.04.4 and got CUDA error from cuda-image module. Could anyone give me some hint or advise on this?
I got the following error message.

~/git/sfs-sr-single/build/bin$ ./AppSfs -d ~/git/sfs-sr-single/data/minion/ --dataset_gt_albedo -s $(pwd)
Use GT depth: 0
Use GT albedo: 1
Use GT light: 0
Opening dataset /home/oooo/git/sfs-sr-single/data/minion/
Pinhole Intrinsics 640x480
fx=460.782 fy=614.14
cx=306.728 cy=238.434
Pinhole Intrinsics 1280x720
fx=921.563 fy=921.21
cx=613.455 cy=357.652
Invalid EXR file: /home/oooo/git/sfs-sr-single/data/minion/depth.exr
Could not open GT depth: Could not open image /home/vrc/git/sfs-sr-single/data/minion/depth.exr or image is empty!
Read color image
Using LR depth for initialization of GT depth
/home/oooo/git/cuda-image/src/operations/resize.cu(335) : Cuda call returned with error cudaErrorLaunchOutOfResources(=too many resources requested for launch)
terminate called after throwing an instance of 'std::runtime_error'
what(): Cuda Call failed: too many resources requested for launch
Aborted (core dumped)

I used NVIDIA Geforce RTX2080Ti on CUDA 10.2. The nvidia-smi tool said:
$ nvidia-smi
Mon May 11 22:31:04 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 440.59 Driver Version: 440.59 CUDA Version: 10.2 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce RTX 208... Off | 00000000:01:00.0 On | N/A |
| 35% 33C P8 20W / 260W | 283MiB / 11011MiB | 1% Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1391 G /usr/lib/xorg/Xorg 18MiB |
| 0 1479 G /usr/bin/gnome-shell 57MiB |
| 0 2204 G /usr/lib/xorg/Xorg 106MiB |
| 0 2338 G /usr/bin/gnome-shell 98MiB |
+-----------------------------------------------------------------------------+
Thank you very much.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions