Source builds need CUDA 12.9 since #81, and neither CMake nor the docs say so

Open
#130 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
cmake, cpp, markdown

Research direction

Read the CMake configuration that calls find_package(CUDAToolkit) and installation.mdx near the build options. Check how the CUDA toolkit version is currently specified, then confirm the intended minimum against the use of CUBLASLT_BATCH_MODE_POINTER_ARRAY in src/compop/backend/gpu/gemm_replay.cu. Done means configuration reports the required CUDA version clearly and the installation guide names the same minimum.

Written by the indexing model from the issue text.

Description

cpp documentation

🤖 AI text below 🤖

Since #81, gemm_replay.cu sets the cuBLASLt batch mode to CUBLASLT_BATCH_MODE_POINTER_ARRAY. cuBLASLt added it in CUDA 12.9, and a build with an older toolkit stops at that file:

gemm_replay.cu(320): error: identifier "CUBLASLT_BATCH_MODE_POINTER_ARRAY" is undefined
gemm_replay.cu(321): error: identifier "CUBLASLT_MATRIX_LAYOUT_BATCH_MODE" is undefined

Seen with CUDA 12.6, building #122 at 3043d958. The same tree builds with CUDA 12.9. The wheels use 12.9, so they aren't affected. A source build with an older toolkit fails late, in the compile, with no hint about the version. On Leonardo, for example, the newest cuda module is 12.6, and CUDA 12.9 is there only inside nvhpc 25.11.

Two changes would help:

  • find_package(CUDAToolkit 12.9 REQUIRED), so that the configure names the version. Or a lower minimum with a guard around the pointer-array path, if older toolkits should keep working.
  • Name the minimum in installation.mdx, next to the build options.
Dominant language
C++
Stars
3
Forks
0
Avg merge
2d 8h
Merged PRs (30d)
31

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Algorithmiq/exa-dmrg

All issues in Algorithmiq/exa-dmrg

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.