Skip to content

[CUDA] Include <cuda.h>#41

Open
illuhad wants to merge 1 commit into
UoB-HPC:mainfrom
illuhad:pcuda-support
Open

[CUDA] Include <cuda.h>#41
illuhad wants to merge 1 commit into
UoB-HPC:mainfrom
illuhad:pcuda-support

Conversation

@illuhad

@illuhad illuhad commented Apr 28, 2025

Copy link
Copy Markdown

Add #include <cuda.h> to CUDA model. With this change, the CUDA model can also be compiled with acpp --acpp-pcuda --acpp-pcuda-chevron-launch.

AdaptiveCpp PCUDA, unlike nvcc, does not automatically include the CUDA headers, so this change is necessary.

(CMake infrastructure for PCUDA is not yet in this PR, but miniBUDE is also easy enough to compile without cmake)

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