是否可以通过包含“cuda.h”库在 C 代码中使用 CUDA“float4”数据类型?
最佳答案
你只是#include "vector_types.h"
https://code.google.com/p/hydrazine/source/browse/trunk/hydrazine/cuda/include/vector_types.h?r=23
关于c - 在 C 文件中使用 float4,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15373773/