Skip to content

Add find_dependency(CUDAToolkit) to caliper-config.cmake.in#715

Merged
daboehme merged 2 commits into
llnl:masterfrom
michaelmckinsey1:patch-1
Feb 2, 2026
Merged

Add find_dependency(CUDAToolkit) to caliper-config.cmake.in#715
daboehme merged 2 commits into
llnl:masterfrom
michaelmckinsey1:patch-1

Conversation

@michaelmckinsey1
Copy link
Copy Markdown
Contributor

Without this change, applications that do not find the cupti target will incur the following cmake configuration error.

1 error found in build log:
     98     -- Kripke: Using external CAMP
     99     -- Kripke: Setting CAMP_HAVE_CUDA
     100    -- Caliper support is TRUE
     101    -- Kripke selected default architecture: 'CUDA'
     102    -- Kripke selected default layout:       'DGZ'
     103    -- Configuring done (5.9s)
  >> 104    CMake Error at /usr/WS1/mckinsey/bp_cuptihackathon/wkp-fail/spack/o
            pt/spack/linux-sapphirerapids/caliper-master-ngq5qtesxcpkhloxgp5ack
            czyt323vle/share/cmake/caliper/caliper-targets.cmake:61 (set_target
            _properties):
     105      The link interface of target "caliper" contains:
     106    
     107        CUDA::cupti
     108    
     109      but the target was not found.  Possible reasons include:
     110    

@daboehme daboehme merged commit f7d367a into llnl:master Feb 2, 2026
0 of 3 checks passed
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.

2 participants