parallel101 / course

高性能并行编程与优化 - 课件
https://space.bilibili.com/263032155
Other
3.62k stars 532 forks source link

CudaAllocator 模板错误 #24

Open anzisheng opened 1 year ago

anzisheng commented 1 year ago

我的代码中,在vs2022中,凡是使用CudaAllocator 的地方都会编译出错:“no instance of constructor "CudaAllocator::CudaAllocator [with T=int]" matches the argument list main” ,不知道是为什么? ”

archibate commented 9 months ago

已修复:https://github.com/parallel101/course/issues/23