Skip to content

[Caspar] Minor fix: Export CASPAR_MIN_ARCH and fix CUDA architecture list in Caspar template#463

Open
tordnat wants to merge 1 commit into
symforce-org:mainfrom
tordnat:tordnat/fix/export_min_caspar_version
Open

[Caspar] Minor fix: Export CASPAR_MIN_ARCH and fix CUDA architecture list in Caspar template#463
tordnat wants to merge 1 commit into
symforce-org:mainfrom
tordnat:tordnat/fix/export_min_caspar_version

Conversation

@tordnat
Copy link
Copy Markdown
Contributor

@tordnat tordnat commented May 29, 2026

CASPAR_MIN_ARCH was previously a local CMake variable, invisible to parent projects consuming Caspar via FetchContent. This change makes it a CACHE INTERNAL variable so downstream consumers (e.g. COLMAP) can read it after FetchContent_MakeAvailable(caspar) without hardcoding the value.

Also fixes the CMAKE_CUDA_ARCHITECTURES list: the previous 75 80 86 89 75-virtual generated PTX for all four architectures and emitted compute_75 twice. The corrected list 75 80-real 86-real 89-real generates SASS for all and PTX only from sm_75, matching the stated intent.

@tordnat tordnat changed the title Export CASPAR_MIN_ARCH and fix CUDA architecture list in Caspar template [Caspar] Minor fix: Export CASPAR_MIN_ARCH and fix CUDA architecture list in Caspar template May 29, 2026
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

Successfully merging this pull request may close these issues.

1 participant