copy a struct to the gpu and back CUDA C

后端 未结 0 1714
忘掉有多难
忘掉有多难 2021-01-19 23:44

Iam I\'m working on a project where I need my CUDA device to make initialization of struct containing pointers.

struct mystruct
{
    int a;
    int size;
            


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题