Update ReadMe.md

This commit is contained in:
朗月 2021-11-24 09:47:25 +08:00 committed by GitHub
parent d7384d2d4c
commit 316a08b8d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ CUDA 采用 nvcc 作为编译器,支持 C++ 代码nvcc 在编译 CUDA 程
## CUDA 的头文件
CUDA 头文件的后缀依然是 “.h”同时,采用 nvcc 编译器会自动包含必要的 cuda 头文件,
CUDA 头文件的后缀一般是 “.cuh”同时同时可以包含c/cpp 的头文件 “.h”、“.hpp”,采用 nvcc 编译器会自动包含必要的 cuda 头文件,
<cuda.h>, <cuda_runtime.h>同时前者也包含了c++头文件 <stdlib.h>
------