Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA support #32

Open
xq114 opened this issue Jul 19, 2023 · 0 comments
Open

CUDA support #32

xq114 opened this issue Jul 19, 2023 · 0 comments

Comments

@xq114
Copy link

xq114 commented Jul 19, 2023

Hi, I find this library when looking for a trivially copyable tuple implementation in my CUDA code. According to the CUDA C Programming Guide https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#global-function-argument-processing the argument passed to a CUDA kernel must be trivially copyable, so std::tuple is not a choice. However, I find this library do not support CUDA in lack of __device__ modifiers. Would you consider add CUDA support to this library? Specifically, when __CUDACC__ macro is defined, add __host__ __device__ to each of the member functions?

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

No branches or pull requests

1 participant