![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
文章平均质量分 81
unorito
这个作者很懒,什么都没留下…
展开
-
example: call cuda toolkit API from python, curand
see: curand原创 2014-10-09 22:34:07 · 1401 阅读 · 0 评论 -
Generate C enum define from python dict
First we need to prepare the dict, then sort and format it: text = """#ifndef bb2421a299d24d4abbe59c3721a794f9 #define bb2421a299d24d4abbe59c3721a794f9 enum {{ {} }}; #endif//bb2421a299d24d4abbe5原创 2015-09-24 12:01:32 · 355 阅读 · 0 评论