Skip to content

CUDA support #32

@xq114

Description

@xq114

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions