haskell / haskell/c2hs

"The symbol _Alignas does not fit here" when compiling with nvidia cuda.

Open
#290 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
211
Forks
52
PR merge metrics
No merged PRs in 30d

Description

I was working on compiling [This project](https://github.com/AccelerateHS/accelerate-llvm) on the latest version (saturday july 15th 2023, commit 34b9002f28032ddeb3d89a5fa373d89035ac112e), and it gave an error saying that "_Alignas did not fit on line 2930 of /opt/cuda/include/cuda.h .
My OS is arch Linux (up to date as of sunday july 2nd 2023), my version of cuda is 12.2.9, my ghc version is 9.0.2, my version of stack is 2.11.1, and my version of c2hs is 0.28.8.
[This](https://github.com/haskell/c2hs/files/12062952/errors.txt) is the specific error I got.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.