CUDA学习(七十八)

5.扩展的lambda不能在函数本地的类中定义。 例: void foo(void) { struct S1_t { void bar(void) { // Error: bar is member of a class that is local to a function. auto lam4 = [] __host__
相关文章
相关标签/搜索