Skip to content

[BUG] accelerate-llvm-ptx won't compile #114

@noahmartinwilliams

Description

@noahmartinwilliams

Hi! Thanks for trying out Accelerate! We are sorry that you ran into trouble ): Please fill in the following report to help us fix the problem.

Description
When running "stack build" on a (slightly modified) version of accelerate-llvm the compiler complains about a missing function (called "clockRate").

Steps to reproduce
Attached are tarballs containing the slightly modified code for accelerate-llvm and its dependencies (modifications were done to try and make it closer to a successful compile).

accelerate-llvm.tar.gz

c2hs.tar.gz

cuda.tar.gz

hashtables.tar.gz

Steps to reproduce the behaviour:

  1. Unzip the attached folders all in the same directory.
  2. go to accelerate-llvm directory
  3. run "stack build" and it should fail with an error message about a missing function.

Expected behaviour
It should compile.

Your environment

  • Accelerate:
  • Accelerate backend(s):
  • GHC: 9.14.1
  • OS: Arch Linux up to date as of February 21st, 2026.

Additional context
CUDA version 13.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions