Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

GPU kinfu textures no longer supported on CUDA 12.0

Đang mở
#5,571 3 bình luận 4 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
cpp
Lĩnh vực
computer-vision

Hướng nghiên cứu

Bắt đầu với pcl/gpu/kinfu/src/cuda/marching_cubes.cu và kiểm tra các tham chiếu texture legacy được trình biên dịch CUDA 12.0 báo cáo. Tái hiện lỗi trong môi trường Docker nvidia/cuda:12.0.0-devel-ubuntu22.04 được cung cấp bằng các lệnh CMake và make đã liệt kê. Hoàn tất khi mã GPU kinfu được build thành công với CUDA 12.0.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

kind: bug module: gpu status: triage

Describe the bug

The GPU kinfu does not build with CUDA 12.0 because this version of CUDA dropped legacy texture references (specifically used in marching_cubes.cu).

Current Behavior

pcl/gpu/kinfu/src/cuda/marching_cubes.cu(51): error: texture is not a template

pcl/gpu/kinfu/src/cuda/marching_cubes.cu(52): error: texture is not a template

pcl/gpu/kinfu/src/cuda/marching_cubes.cu(61): error: identifier "cudaBindTexture" is undefined

pcl/gpu/kinfu/src/cuda/marching_cubes.cu(68): error: identifier "cudaUnbindTexture" is undefined

pcl/gpu/kinfu/src/cuda/marching_cubes.cu(160): error: no instance of overloaded function "tex1Dfetch" matches the argument list
            argument types are: (<error-type>, int)

pcl/gpu/kinfu/src/cuda/marching_cubes.cu(344): error: no instance of overloaded function "tex1Dfetch" matches the argument list
            argument types are: (<error-type>, int)

pcl/gpu/kinfu/src/cuda/marching_cubes.cu(350): error: no instance of overloaded function "tex1Dfetch" matches the argument list
            argument types are: (<error-type>, int)

pcl/gpu/kinfu/src/cuda/marching_cubes.cu(351): error: no instance of overloaded function "tex1Dfetch" matches the argument list
            argument types are: (<error-type>, int)

pcl/gpu/kinfu/src/cuda/marching_cubes.cu(352): error: no instance of overloaded function "tex1Dfetch" matches the argument list
            argument types are: (<error-type>, int)

9 errors detected in the compilation of "pcl/gpu/kinfu/src/cuda/marching_cubes.cu".

To Reproduce

docker run -it --rm nvidia/cuda:12.0.0-devel-ubuntu22.04
apt update && apt install -y git cmake libeigen3-dev libflann-dev libgl1-mesa-dev libboost-filesystem-dev libboost-date-time-dev libboost-iostreams-dev
git clone https://github.com/PointCloudLibrary/pcl.git
mkdir pcl/build && cd pcl/build
cmake -DBUILD_CUDA=ON -DBUILD_GPU=ON ..
make -j$(nproc)

Your Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • Compiler: gcc 11.3.0
  • PCL Version: HEAD
  • CUDA version: 12.0

Possible Solution

Replace texture references with texture objects.

Ngôn ngữ chính
C++
Star
11.2k
Fork
4.7k
Merge trung bình
5 ngày 8 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của PointCloudLibrary/pcl

Tất cả issue của PointCloudLibrary/pcl

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.