提交 55f53e8e authored 作者: Ian Goodfellow's avatar Ian Goodfellow

updated one of my comments on cuda_ndarray

上级 80a2c70c
......@@ -72,7 +72,8 @@ struct CudaNdarray
//device pointers (allocated by cudaMalloc)
int dev_structure_fresh;
int * dev_structure; //dim0, dim1, ..., stride0, stride1, ... (advised not to use; may not be synchronized)
//dev_structure should be accessed via macros, otherwise may not be synchronized
int * dev_structure; //dim0, dim1, ..., stride0, stride1, ...
real* devdata; //pointer to data element [0,..,0].
};
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论