本文作者原创,首发在本博客;CSDN 上的同名文章已标注为转载并回链到本页:https://blog.csdn.net/qq_30220519/article/details/139869550
CMakeLists.txt
1 | cmake_minimum_required(VERSION 3.10) |
CudaAllocator.h
1 | template <class T> |
hello.cu
1 |
|
main.cu
1 |
|


参考
GitHub - rapidsai/cudf: cuDF - GPU DataFrame Library
GitHub - stotko/stdgpu: stdgpu: Efficient STL-like Data Structures on the GPU
https://www.nvidia.cn/docs/IO/51635/NVIDIA_CUDA_Programming_Guide_1.1_chs.pdf
https://developer.download.nvidia.cn/CUDA/training/StreamsAndConcurrencyWebinar.pdf
CUDA Pro Tip: Write Flexible Kernels with Grid-Stride Loops | NVIDIA Technical Blog
https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#texture-and-surface-memory
创作不易,小小的支持一下吧!

