Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 401
    • Issues 401
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2522
Closed
Open
Created Dec 02, 2025 by Daan Spijkers@daanrs

sac2c -list-targets does not work when compiled without cuda support

When trying to run sac2c -list-targets I get the following error

➜  build git:(daanrs/cuda-sm52) ✗ ./sac2c_p -list-targets
Error:
  The configuration files do not contain a specification of target 'cuda`.
  You may choose a different target from the compiler-specific configuration file '/home/daan/code/uni/sac2c/build/sac2crc_p` or your local ones in '~/.sac2crc/`. You may also add a new target in a file in that folder, e.g. in '~/.sac2crc/sac2crc.mine`.
Compilation failed while initial, 1 error(s).

This is for the latest development version (hash 4e77a4c591e8996090b39b34c3ceb9fce2cebdf6) built from source without cuda.

If instead I build it with cuda it works just fine.

Edited Dec 02, 2025 by Daan Spijkers
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking